Mega Code Archive

 
Categories / Python Tutorial / List
 

Get max from a list

numbers = [100, 34, 678] print max(numbers) print max(2, 3)