Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 코로나19
- github
- 파이썬
- ChatGPT
- dacon
- 우분투
- Docker
- PYTHON
- SW Expert Academy
- 자연어처리
- 백준
- leetcode
- 프로그래머스 파이썬
- 프로그래머스
- gs25
- 편스토랑 우승상품
- ubuntu
- 더현대서울 맛집
- programmers
- 맥북
- 편스토랑
- Git
- hackerrank
- Kaggle
- 캐치카페
- AI 경진대회
- 금융문자분석경진대회
- 데이콘
- Baekjoon
- Real or Not? NLP with Disaster Tweets
Archives
- Today
- Total
목록
반응형
숫자 카드 python (1)
반응형
솜씨좋은장씨
[BaekJoon] 10815번 : 숫자 카드 (Python)
👨🏻💻 코드 ( Solution ) import sys def make_answer(answer, check_dict, temp): try: check = check_dict[temp] temp = "" answer.append("1") except: answer.append("0") temp = "" return answer, temp def number_card(my_numbers, check_numbers): answer = [] check_dict = {} temp = "" for num in my_numbers: if num.isdigit() or num == "-": temp += num elif num == " ": check_dict[temp] = 0 temp = "" check_dict..
Programming/코딩 1일 1문제
2021. 10. 23. 13:58
반응형