RosettaCodeData/Task/Sort-an-integer-array/Python/sort-an-integer-array-1.py

3 lines
31 B
Python

nums = [2,4,3,1,2]
nums.sort()