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
- TypeScript
- 정렬
- MySQL
- Python
- react
- 자료구조
- 게임
- class
- Dinosaur
- dfs
- mongoose
- GIT
- flask
- MongoDB
- nestjs
- Queue
- game
- typeORM
- Sequelize
- JavaScript
- nodejs
- Nest.js
- jest
- OCR
- Express
- AWS
- Bull
- 공룡게임
Archives
- Today
- Total
목록keys() (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