0
List functions V
I am having issues: Task: Write a program that will calculate and output the sum of maximum and minimum items of the given list. my code: numbers = [14,5,6,8,17,28] #your code goes here numbers=((min() + (max()) print(numbers)
2 Antworten
+ 3
Devin Robinson
min and max are functions which accept 1 parameter so do this:
total = min(numbers) + max(numbers)
print (total)
+ 1
thanks that was a big help. I see where I should have zig where I zag