Skip to content

Instantly share code, notes, and snippets.

@keehyun2
Created January 18, 2018 10:04
Show Gist options
  • Select an option

  • Save keehyun2/d2847e76d03a583ab6433789a551607a to your computer and use it in GitHub Desktop.

Select an option

Save keehyun2/d2847e76d03a583ab6433789a551607a to your computer and use it in GitHub Desktop.
N=int(input())
str = ''
for i in range(0, N):
for j in range(0, N):
if i > j:
str+=" "
else:
str += "*"
str += "\n"
print(str)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment