Facebook
From Reliable Cheetah, 3 Years ago, written in Python.
This paste is a reply to Untitled from Crimson Mousedeer - view diff
Embed
Download Paste or View Raw
Hits: 101
  1. def star_trees(count_of_star, count_of_tree):
  2.     return ['*' * i for i in range(1, count_of_star+1)] * count_of_tree
  3.  
  4. for star in star_trees(4, 9):
  5.     print(star)
  6.