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 |
Tags
- dacon
- Baekjoon
- Real or Not? NLP with Disaster Tweets
- leetcode
- 캐치카페
- 프로그래머스 파이썬
- 더현대서울 맛집
- 프로그래머스
- 금융문자분석경진대회
- Git
- PYTHON
- 편스토랑 우승상품
- 우분투
- 백준
- ubuntu
- 데이콘
- Kaggle
- programmers
- gs25
- AI 경진대회
- github
- 편스토랑
- Docker
- ChatGPT
- SW Expert Academy
- 맥북
- 코로나19
- 자연어처리
- hackerrank
- 파이썬
Archives
- Today
- Total
목록
반응형
BaekJoon 2386 (1)
반응형
솜씨좋은장씨
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/ROeqh/btrIGyeIxXm/kAi90DjHVYaylaOkFK5lK1/img.png)
코딩 1일 1문제! 오늘의 문제는 백준의 도비의 영어 공부 입니다. 2386번: 도비의 영어 공부 출력의 각 줄은 입력으로 주어진 소문자와 그 소문자 알파벳이 나타난 횟수로 이루어진다. 이때 문장에서 해당 알파벳이 소문자로 나타나던 대문자로 나타나던 모두 세야 한다. www.acmicpc.net 👨🏻💻 코드 ( Solution ) from collections import Counter def count_word(sentence, word): count = 0 sentence = list(sentence) cnt = Counter(sentence) if word in cnt: count = cnt[word] return count def dobbys_english_study(study_list): an..
Programming/코딩 1일 1문제
2022. 8. 1. 12:38
반응형