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
- Modified Date
- homebrew-core is a shallow clone.
- list.pop(0)
- Algorithm
- Python 나머지
- Boto3
- List
- sting position
- 피보나치 수
- Split
- permutations
- COUNT
- string
- cask
- Python 몫
- Python
- Unknown command: cask
- 알고리즘
- RecursionError
- 프로그래머스
- index
- List to String
- zip()
- sort()
- 알고리즘 풀이
- python3
- set to list
- List 초기화
- list.sorted()
- list to set
Archives
- Today
- Total
목록sort (1)
데이터와 코드로 세상을 바라봅니다.
[Python 3] - List, sorted(), pop(), index()
[풀이 코드] def solution(participant, completion): answer = '' participant=sorted(participant) completion=sorted(completion) answer = participant[len(completion)] for i in range(0,len(completion)): if participant[i]!=completion[i]: answer=participant[i] break return answer def solution(participant, completion): answer = '' for i in range(0, len(completion)) : index_pos = participant.index(completion..
Code/Python
2020. 11. 6. 13:50