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 |
Tags
- cookie
- Python
- jest
- nestjs
- Dinosaur
- class
- flask
- Sequelize
- 게임
- typeORM
- react
- Express
- game
- Bull
- 정렬
- dfs
- JavaScript
- mongoose
- nodejs
- MongoDB
- Queue
- MySQL
- TypeScript
- Nest.js
- AWS
- GIT
- 자료구조
- 공룡게임
- OCR
Archives
- Today
- Total
목록not in (1)
포시코딩
1월4일
Python string에서 문자 찾기 not in def solution(num, k): if str(k) not in str(num): print(True) else: print(False) result = solution(29583, 1) # True result = solution(29183, 1) # False in def solution(num, k): if str(k) in str(num): print(True) else: print(False) result = solution(29583, 1) # False result = solution(29183, 1) # True index, find 둘 다 문자열에 사용할 수 있으며 index는 찾았을 때 없으면 에러가 나지만 find는 찾았을 때 ..
TIL
2023. 1. 4. 10:15