changu/뒤집기

16 lines
188 B
Plaintext
Raw Normal View History

2018-12-23 11:03:25 +00:00
a=int(input("숫자입력"))
c=[]
d=0
g=0
while d<a:
e=0
b=[]
while e<a:
e=e+1
g=g+1
b.append(g)
c.append(b)
d=d+1
print(c)
b.reverse()
print(b)