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 |
Tags
- 특수대학원
- 딥러닝
- 3dprinter
- 코딩
- opencv
- 인공지능
- 직장인
- 석사
- 파이썬
- 초보영어
- 산업대학원
- Python
- coding
- C언어
- 영어공부
- Ai
- 머신비전
- Vision
- 3d프린터
- 파이썬gui
- 4차산업
- 프로그래밍
- 영어기초
- ComputerVision
- 대학원
- 머신러닝
- 영어
- 동사
- machinevision
- 오픽
Archives
- Today
- Total
목록while반복문 (1)
미래기술연구소

if 문이랑 매우 흡사하다 while 조건: 결과가 True / False 에 따라 코드를 실행 반복할지 코드를 탈출 할지 결정된다 ex ) while 조건 : True 실행할 명령 1, 2 를 실행하고 다시 while 실행 True 실행할 명령 1, 2 를 다시 실행 다시 while 실행 False 코드 종료 i = 0# 초기식 while i < 100:# while 조건식 print('Hello, World!')# 반복할 코드 i += 1# 변화식 결과 주로 사용되는 code 형태 treeHit = 0 while treeHit < 10: treeHit += 1 print("나무를 %d번 찍었습니다." % treeHit) if treeHit == 10: print("나무 넘어갑니다.") 위 예에서 wh..
programming/Python
2020. 8. 8. 14:25