728x90
반응형

입력을 그대로 내림차순 정렬해주고 join을 통해 합쳐서 출력하면 된다.

print(''.join(sorted(input(), reverse=True)))

728x90
반응형

+ Recent posts