Retired

Grow a pine tree (retired)

Description:

      ^
    <===>
   <=====>
  <=======>
 <=========>
<===========>
     | |

Introduction

In this kata you're a pine grower. You're given a height of the pine you will be growing. But you already have top and bottom, so you need to care only about its branches.

  • The pine always starts with ^, it's its top.
  • The pine core is its branches. (minimum given height is 3)
  • The pine always ends with | |, it's its bottom.

The pine image should have spaces only in the biginning of lines as in the example above. Top and bottom of the pine counts as height too.

This could be duplicate of https://www.codewars.com/kata/577c349edf78c178a1000108*

Fundamentals

Similar Kata:

More By Author:

Check out these other kata created by FrameMuse

Stats:

CreatedSep 13, 2021
Warriors Trained21
Total Skips0
Total Code Submissions24
Total Times Completed12
JavaScript Completions12
Total Stars0
% of votes with a positive feedback rating20% of 10
Total "Very Satisfied" Votes1
Total "Somewhat Satisfied" Votes2
Total "Not Satisfied" Votes7
Total Rank Assessments10
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • FrameMuse Avatar
Ad