From aad229b21af6a1fb74b716baeb8c9d77819dd4de Mon Sep 17 00:00:00 2001 From: kim_yubin Date: Sun, 28 Oct 2018 11:24:40 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B6=94=EA=B0=80=20'2=EC=B0=A8=EC=9B=90=20?= =?UTF-8?q?=EB=B0=B0=EC=97=B4'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 2차원 배열 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 2차원 배열 diff --git a/2차원 배열 b/2차원 배열 new file mode 100644 index 0000000..021d4e6 --- /dev/null +++ b/2차원 배열 @@ -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) \ No newline at end of file