Skip to content

Instantly share code, notes, and snippets.

@KatUser
Created July 16, 2020 09:08
Show Gist options
  • Save KatUser/4a2f0e3202db52b87326e391f7740261 to your computer and use it in GitHub Desktop.
Save KatUser/4a2f0e3202db52b87326e391f7740261 to your computer and use it in GitHub Desktop.
Pyramide Pyramide
n = int(input())
c = ''
for i in range(1,n+1):
a = c+str(i),c[::-1]
print(''.join(a))
c= c+str(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment