numbers = sorted(numbers)
If you want descending order:
numbers = sorted(numbers, reverse=True)
0
solved Ascending order , in list [duplicate]
numbers = sorted(numbers)
If you want descending order:
numbers = sorted(numbers, reverse=True)
0
solved Ascending order , in list [duplicate]