fba454ae81d4af46876e583f12baa21a67ab14e8
Перейти к файлу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))