Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python order number list

numbers = [1, 5, -2, 4]
numbers.sorted()
print(numbers)
# [-2, 1, 5, 4]
 
PREVIOUS NEXT
Tagged: #python #order #number #list
ADD COMMENT
Topic
Name
1+2 =