#try to avoid input function tup = (5,6,99,7,54,3,2,12,34,55,77,90,77,65,11,22,665,43,234,221,101) b = sorted(list(tup)) tup = tuple(b) print(tup)
Click the run button. Try to avoid input() function.