Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python print array

array = [360, 780, 120].sort #This will put the numbers in the correct order.
print(array)
#output = [120, 360, 780]

#items are sorted in order, and printed to the console.
 
PREVIOUS NEXT
Tagged: #python #print #array
ADD COMMENT
Topic
Name
5+3 =