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
- 최댓값
- append()
- list
- data
- DataAccess
- 최솟값
- sklearn
- numpy
- nan
- Python
- wcss
- string
- hierarchical_clustering
- 반복문
- analizer
- IN
- function
- Machine Learning
- 분류 결과표
- dendrogram
- 덴드로그램
- insert()
- pandas
- matplotlib
- elbow method
- Dictionary
- len()
- DataFrame
- del
- count()
Archives
- Today
- Total
목록continue (1)
개발공부
Break - 자신을 감싸고 있는 루프의 {} 괄호를 벗어난다. for 반복문이나 while 반복문에서 쓰인다. 예제 >>fruits = ['사과', '배', '망고', '바나나', '수박'] >> >>for name in fruits : >> print(name) >> if name == '망고' : >> print('Hello') >> break >> print('Bye') >>print('Nice') 사과 배 망고 Hello Nice fruits 리스트에서 망고가 출력되면 break가 실행되어 for 반복문을 빠져나가게 되어 Bye는 출력이 되지 않고 바로 Nice가 출력된다. Continue - 이번 루프를 뛰어넘고 다음 순서로 돌아간다. 예제 >>for name in fruits : >> if ..
Python/Basic
2022. 4. 25. 17:53