a=[]a=list(map(int, input().split(',')))a.sort(reverse=True)print (a)
0,0,1,1,3,5,6,7,7
[7, 7, 6, 5, 3, 1, 1, 0, 0]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!