数组逆序排列输出

list_num = input().split()

list_num.sort()

print("->".join(list_num[::-1]))
原文地址:https://www.cnblogs.com/Deranuid/p/13173765.html