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
- data
- list
- len()
- nan
- Python
- elbow method
- 분류 결과표
- 최댓값
- count()
- 덴드로그램
- insert()
- Dictionary
- hierarchical_clustering
- numpy
- 최솟값
- Machine Learning
- 반복문
- del
- DataFrame
- matplotlib
- dendrogram
- sklearn
- DataAccess
- function
- pandas
- wcss
- analizer
- string
- append()
- IN
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