programmers.co.kr/learn/courses/30/lessons/12915
My answer:
def solution(strings, n):
return sorted(strings, key= lambda x : x[n])
'Computer Science > 알고리즘 문제풀이' 카테고리의 다른 글
[프로그래머스][python]12922. 수박수박수박수박수박수? (0) | 2021.01.09 |
---|---|
[프로그래머스][python]12943. 콜라츠 추측 (0) | 2021.01.08 |
[프로그래머스][python]12919.서울에서 김서방 찾기 (0) | 2021.01.08 |
[프로그래머스][python] 12950. 행렬의 덧셈 (0) | 2021.01.07 |
[프로그래머스][python] 12944. 평균 구하기 (0) | 2021.01.07 |