Answers for "How to orginize a list from biggest number to smallest"

0

find the largest and smallest numbers in a list

thislist = [677,8765,8765,876,470,754,6784,56789,7658,]
thislist.sort()
print ("The smallest number is: " + str(thislist[0]))
print ("The largest number is: " + str(thislist[-1]))
Posted by: Guest on June-03-2021

Code answers related to "How to orginize a list from biggest number to smallest"

Python Answers by Framework

Browse Popular Code Answers by Language