Programming/Python & Data Structures
[Baekjoon/Python3] 1427번 소트인사이드
HooNeee
2020. 12. 3. 00:50
[Baekjoon/Python3] 1427번 소트인사이드
1427번: 소트인사이드
첫째 줄에 정렬하고자하는 수 N이 주어진다. N은 1,000,000,000보다 작거나 같은 자연수이다.
www.acmicpc.net
n = list(input())
n.sort(reverse = True)
for i in range(len(n)):
print(n[i], end='')