Ответы
Ответ дал:
0
def numbers(s):
s_mas = [int(i) for i in s]
if len(s_mas) > 30:
print("tYou have entered 30 numbers!")
else:
x_max = max(int(i) for i in s_mas if int(i) > 0)
x_min = min(int(i) for i in s_mas if int(i) > 0)
print("The minimum value in the sequence {}".format(x_min))
print("The maximum value in sequence {}".format(x_max))
a = input("Numbers: ")
numbers(a)
Ответ дал:
0
Numbers: 996587
The sum of even numbers 5
The sum of even numbers 9
The sum of even numbers 5
The sum of even numbers 9
Вас заинтересует
1 год назад
1 год назад
1 год назад
7 лет назад
7 лет назад
8 лет назад