# Christmas Tree by Helen Yu tags: formatting, strings ## Summary > Write a function to create a Christmas tree based on height h. > Examples > tree(1) ➞ [ > "#" > ] > tree(2) ➞ [ > " # ", > "###" > ] > tree(5) ➞ [ > " # ", > " ### ", > " ##### ", > " ####### ", > "#########" > ] > tree(0) ➞ [] > Notes > N/A ## Instructions Write a function to create a Christmas tree based on height `h`. ### Examples ``` tree(1) ➞ [ "#" ] tree(2) ➞ [ " # ", "###" ] tree(5) ➞ [ " # ", " ### ", " ##### ", " ####### ", "#########" ] tree(0) ➞ [] ``` ### Notes N/A