추가 '2차원 배열'

This commit is contained in:
kim_yubin 2018-10-28 11:24:40 +09:00
parent e5a24cf6fc
commit aad229b21a
1 changed files with 27 additions and 0 deletions

27
2차원 배열 Normal file
View File

@ -0,0 +1,27 @@
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)