일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 초기화
- Python
- Python 나머지
- string
- 프로그래머스
- Split
- 피보나치 수
- sting position
- list.pop(0)
- permutations
- 알고리즘 풀이
- zip()
- sort()
- Modified Date
- COUNT
- homebrew-core is a shallow clone.
- list to set
- set to list
- Unknown command: cask
- Boto3
- Python 몫
- List
- List to String
- python3
- RecursionError
- Algorithm
- list.sorted()
- 알고리즘
- index
- cask
- 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)] ..