Start
 
 
 
 
 
 
End
Create a program that checks all the numbers in a list of numbers to find and display the maximum value.
list = [7 , 12, 4, 21, 8, 9]
max = 0
for number in list:
if number > max:
max = number
print("The maximum is " + str(max))


Your Link:


X Close