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
- elbow method
- matplotlib
- 분류 결과표
- 반복문
- dendrogram
- 최댓값
- Python
- append()
- hierarchical_clustering
- sklearn
- DataFrame
- data
- string
- IN
- 덴드로그램
- len()
- Machine Learning
- pandas
- DataAccess
- insert()
- list
- count()
- numpy
- 최솟값
- wcss
- Dictionary
- analizer
- del
- function
- nan
Archives
- Today
- Total
목록while (1)
개발공부
While - While loop 는, 조건식을 만족하는 동안, 자신이 포함하는 문장들을 실행한다. 예제 - hello를 7번 출력하기 >>> i = 0 >>> while i >> print('hello') >>> i = i + 1 hello hello hello hello hello hello hello Infinite Loop : 무한루프 - 반복문이 무한히 지속되는 상태를 말한다. - break를 이용해 빠져나올 수 있다. 예제 - '그만' 이라고 입력할때까지 문자를 입력받고 출력하기 >>> while True : >>> user_input = input('문장을 입력하세요 : ') >>> if user_input == '그만' : >>> break >>> else : >>> print..
Python/Basic
2022. 4. 25. 17:58