백준 문제풀이
baekjoon - python - 1427
winston1214
2020. 9. 4. 22:33
반응형
https://www.acmicpc.net/problem/1427
1427번: 소트인사이드
첫째 줄에 정렬하고자하는 수 N이 주어진다. N은 1,000,000,000보다 작거나 같은 자연수이다.
www.acmicpc.net
# @Author YoungMinKim
# baekjoon
num = list(input())
result = sorted(num,reverse=True)
result2=''.join(result)
print(int(result2))
반응형