Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
Tags
- mssql
- 라즈베리파이
- node.js
- sqlite
- Unity
- tensorflow
- ASP
- flutter
- 리눅스
- ubuntu
- Linux
- swift
- pandas
- 날짜
- 함수
- PER
- python
- PyQt5
- IOS
- 맛집
- MS-SQL
- 다이어트
- javascript
- Excel
- port
- PyQt
- 유니티
- MySQL
- urllib
- GIT
Archives
아미(아름다운미소)
python while 본문
while 반복문으로 리스트의 요소를 출력.
2
3
4
5
a = [1, 2, 3, 4, 5]
i = 0
while i < len(a):
print(a[i])
i += 1
결과 :
12
3
4
5
'랭귀지 > python' 카테고리의 다른 글
| Python split() join() (0) | 2018.09.29 |
|---|---|
| python for에서 인덱스와 요소의 값을 동시에 출력하기 (0) | 2018.09.28 |
| python for in list (0) | 2018.09.26 |
| python chr (0) | 2018.09.25 |
| python strip() (0) | 2018.09.24 |
Comments
