c70a58f596a8dfc2ab4b734e1775d88fdefe87b3
Перейти к файлуt
task_1.py
sales: list[int] = [120, 85, 40, 230, 75]
total: int = 0
for sale in sales:
total += sale
print("ВЫВОД:\nКОЛ-ВО ПРОДАЖ ЗА ДЕНЬ = {}\nНА СУММУ: {}".format(len(sales), total))