LogIn E-mail
¼³°èÀ̾߱â
2Â÷¿ø ¸®½ºÆ®, Æ©ÇÃ
# 20 JMJS    19.11.13 10:29

Matrix = [[0]*5 for i in range(5)]
Matrix[0][0] = 1
Matrix[4][0] = 5

>>> a = []
>>> a.append([])
>>> a[0].append(10)
>>> a[0].append(20)
>>> a.append([])
>>> a[1].append(500)
>>> a[1].append(600)
>>> a[1].append(700)
>>> a
[[10, 20], [500, 600, 700]]

a = ((10, 20), (30, 40), (50, 60))
b = ([10, 20], [30, 40], [50, 60])
c = [(10, 20), (30, 40), (50, 60)]

°Ô½Ã¹°: 25 °Ç, ÇöÀç: 1 / 1 ÂÊ
[1]
¹øÈ£ Á¦       ¸ñ ÀÛ¼ºÀÚ µî·ÏÀÏ ¹æ¹®
26  house.py jinsung 21.3.18 21
25  move_circle_j1.py jinsung 21.3.18 12
24  bounce_j1.py jinsung 21.3.18 8
23  ¸ðµÎÀÇ ÆÄÀ̽ã - 20Àϸ¸¿¡¹è¿ì´Â ÇÁ·Î±×·¡¹Ö ±âÃÊ JMJS 20.1.8 175
22  python -m pip install -U pip JMJS 19.11.25 161
21  get =lambda i,m ... JMJS 19.11.13 173
20  2Â÷¿ø ¸®½ºÆ®, Æ©Çà JMJS 19.11.13 168
19  [turtle]def polygon3(n,c,d) JMJS 19.11.11 156
18  [turtle]def polygon2(n,a) JMJS 19.11.11 160
17  def factorial(n) JMJS 19.11.11 151
16  def sum_func(n) JMJS 19.11.11 162
15  def hello() fun1(a) fun2(a,b) JMJS 19.11.11 170
14  while sum JMJS 19.11.11 144
13  random calculation JMJS 19.11.11 149
12  turtle random JMJS 19.11.11 152
11  import time time.time JMJS 19.11.11 165
10  turtle begin_fill end_fill JMJS 19.11.11 156
9  if else JMJS 19.11.11 154
8  input JMJS 19.11.11 159
7  list JMJS 19.11.11 176
6  turtle triangle JMJS 19.11.11 162
5  for range JMJS 19.11.11 144
4  ¸ðµâ »ç¿ëÇϱâ JMJS 19.11.11 167
3  import ÆÄÀ̽㠸ðµâ °¡Á®´Ù ¾²±â JMJS 19.11.11 162
1  print ÁÙ¹Ù²Þ JMJS 19.11.11 201
[1]