250x250
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
- 설계
- where
- python
- 프로그래머스
- Join
- 슬라이싱
- 데이터
- 백준
- ORDER BY
- Python3
- Len
- YOLOv5
- 단어 공부
- date_format
- sql
- 파이썬 슬라이싱
- map
- css
- count
- 아이엠어바텐더
- Django
- 파이썬
- 파이썬 몫
- 코딩테스트 연습
- List Comprehension
- pcce 기출문제
- SQL 고득점 Kit
- 프로젝트
- GIT
- html
Archives
- Today
- Total
목록2941번 (1)
nan + nan = 2nan
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/33U0s/btrWpnZQ5zr/Pjo0uXjxTuOsHjXbRr9Xw1/img.png)
코드 입력 test = input() list_cro = ['c=', 'c-', 'd-', 'lj', 'nj', 's=', 'z='] cnt = 0 while True: if len(test) >= 4: if test[:3] == 'dz=': cnt += 1 test = test[3:] elif test[:2] in list_cro: cnt += 1 test = test[2:] else: cnt += 1 test = test[1:] elif len(test) == 3: if test == 'dz=': cnt += 1 break elif test[:2] in list_cro: cnt += 1 test = test[2:] else: cnt += 1 test = test[1:] elif len(test) ==..
Python/백준 알고리즘
2023. 1. 16. 19:30