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 |
Tags
- 반복문
- mutate()
- input함수
- 자료형
- while
- javascript
- Swift
- 멤버십 연산자
- 조건문
- group_by()
- R 데이터 분석
- summarise()
- ReactNative
- match case
- f-string
- Django
- notion
- pycharm
- 동일성 연산자
- python
- react
- vs code
- COUNT()
- 제어문
- sd()
- sqldf
- inflearn
- 소수출력
- 점프투장고
- 별찍기
Archives
- Today
- Total
목록while (1)
✏️
220811 | ③ Python / for문, 기타 제어문 예제
for문 예제 - 10부터 1까지 카운트다운 for i in range(10): print(10 - i) for i in range(10, 0, -1) print(i) +) 같은 예제를 while문으로 작성하면⬇ i = 0 while i - 1부터 10까지 숫자 합계 total = 0 for i in range(10): total += i+1 print(total) +) 같은 예제를 while문으로 작성하면⬇ total = 0 i = 0 while i - for문 for i in range(2, 10): f..
K-Digital Training
2022. 9. 30. 20:58