[프로그래머스] 문자열 내림차순으로 배치하기Lv.1 - Python

GoshK·2022년 1월 29일
0

[프로그래머스] Python

목록 보기
21/68
post-thumbnail

[프로그래머스] 문자열 내림차순으로 배치하기Lv.1

나의 풀이

def solution(s):
    s = sorted(str(s), reverse=True)
    return "".join(s)

0개의 댓글