일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- List 초기화
- 알고리즘 풀이
- sting position
- set to list
- list.sorted()
- Modified Date
- list to set
- Python
- Algorithm
- RecursionError
- Boto3
- 알고리즘
- Split
- List
- 프로그래머스
- zip()
- Unknown command: cask
- index
- 피보나치 수
- COUNT
- string
- Python 몫
- permutations
- Python 나머지
- cask
- python3
- list.pop(0)
- sort()
- List to String
- homebrew-core is a shallow clone.
- Today
- Total
목록Code (34)
데이터와 코드로 세상을 바라봅니다.
[코드] def solution(s): return s.lower().count('p')==s.lower().count('y') [참고자료] www.geeksforgeeks.org/isupper-islower-lower-upper-python-applications/ isupper(), islower(), lower(), upper() in Python and their applications - GeeksforGeeks A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/c..
def solution(answers): answer = [] answer1 = [1, 2, 3, 4, 5] answer2 = [2, 1, 2, 3, 2, 4, 2, 5, 2, 1, 2, 3, 2, 4, 2, 5] answer3 = [3, 3, 1, 1, 2, 2, 4, 4, 5, 5, 3, 3, 1, 1, 2, 2, 4, 4, 5, 5] data = {'1': 0, '2': 0, '3': 0} for i in range(0,len(answers)): if answer1[i%len(answer1)] == answers[i] : data['1'] += 1 if answer2[i%len(answer2)] == answers[i] : data['2'] += 1 if answer3[i%len(answer3)] ..