>>> n = 4

>>> print([[0 for i in range(n)] for j in range(n)])

[[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]

'{BE} Python 3.1x' 카테고리의 다른 글

VoyagerX 창업자_개발 능력 요구사항  (0) 2020.12.29
PEP8 code layout  (0) 2020.12.05
for, zip, range  (0) 2020.11.30
Finally... Android also.  (0) 2020.11.04
일단, python 의 승리  (2) 2020.10.03

+ Recent posts