Python3:
print('Введите все числа, разделяя их символом " " (Пробел). ')
b = [int(i) for i in input().split()]
cost = 1
for i in range(len(b)):
cost *= b[i]
print(cost)
end = input('enter something to close program')
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Python3:
print('Введите все числа, разделяя их символом " " (Пробел). ')
b = [int(i) for i in input().split()]
cost = 1
for i in range(len(b)):
cost *= b[i]
print(cost)
end = input('enter something to close program')