0
Help guys
Напишите программу, которая рассчитает и выведет сумму максимального и минимального значений списка. numbers = [14,5,6,8,17,28] # место для вашего кода index= numbers.insert(index,"x") print (numbers)
1 Antwort
+ 1
Write a program that calculates and prints the sum of the maximum and minimum values in a list.
numbers = [14,5,6,8,17,28]
# place for your code
index =
numbers.insert (index, "x")
print (numbers)
The code is totally irrelevant to the question they asked. What are you trying to do??
It's a direct one..!! Just do,
print(min(numbers)+max(numbers)) #42