[알고리즘] 프로그래머스 1단계 - 문자열 내 마음대로 정렬하기

minidoo·2020년 10월 4일
0

알고리즘

목록 보기
37/85
post-thumbnail
def solution(strings, n):
    
    answer = sorted(sorted(strings), key=lambda x:x[n])
    
    return answer

0개의 댓글