>>> for (i, j) in zip(range(1, 10, 1), range(10, 1, -1)):
... print(i, ' ', j)
...
1 10
2 9
3 8
4 7
5 6
6 5
7 4
8 3
9 2
'{BE} Python 3.1x' 카테고리의 다른 글
PEP8 code layout (0) | 2020.12.05 |
---|---|
0 matrix (0) | 2020.12.01 |
Finally... Android also. (0) | 2020.11.04 |
일단, python 의 승리 (2) | 2020.10.03 |
xlsx control. python 1 : swift 0 (0) | 2020.09.12 |