yubin_repository/2차원 배열

27 lines
334 B
Plaintext
Raw Normal View History

2018-10-28 02:24:40 +00:00
a=[['1','2','3'],['4','5','6'],['7','8','9']]
b=0
c=0
t=0
u=0
result = ""
"""while t<3:
u=0
c=0
result = ''
while u<3:
result = result + a[b][c]
c+=1
u+=1
print(result)
b+=1
t+=1"""
i=''
j=''
for i in a:
result=""
for j in i:
result = result + j
print(result)