Skip to content

Instantly share code, notes, and snippets.

@Svastikkka
Created June 12, 2020 11:02
Show Gist options
  • Select an option

  • Save Svastikkka/9afefd62110af366b2e960945d71fee2 to your computer and use it in GitHub Desktop.

Select an option

Save Svastikkka/9afefd62110af366b2e960945d71fee2 to your computer and use it in GitHub Desktop.
## Read input as specified in the question.
## Print output as specified in the question.
num = int(input())
for i in range(1,num+1):
for j in range(0,i):
print(1,end="")
print()
@Svastikkka

Copy link
Copy Markdown
Author

Number Pattern 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment