Skip to content

Instantly share code, notes, and snippets.

@takujeng
Created June 4, 2017 13:40
Show Gist options
  • Save takujeng/95321c0be91b12bce1e85fc76c9476be to your computer and use it in GitHub Desktop.
Save takujeng/95321c0be91b12bce1e85fc76c9476be to your computer and use it in GitHub Desktop.
print ("how many stars row: ")
stars_row = int(input("> "))
for i in range(1,stars_row+1):
for j in range (1,i+1):
print ("*",end=" ")
print("")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment