본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬]1427번 소트인사이드

by 현장 2021. 3. 24.

 

-코드

 

n = list(input())
n.sort(reverse=True)

for i in range(len(n)):
    print(n[i], end='')