Start
End
1
2
3
4
5
6
Save / Get Link
Check My Answers
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