Skip to content

Instantly share code, notes, and snippets.

@manojjha
Created July 30, 2020 06:06
Show Gist options
  • Save manojjha/801d090270ebf087f66f439213398352 to your computer and use it in GitHub Desktop.
Save manojjha/801d090270ebf087f66f439213398352 to your computer and use it in GitHub Desktop.
def pyart(n):
mylist=[]
for i in range(1,n+1):
mylist.append("* "*i)
print("\n".join(mylist))
pyart(5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment