Задание 1 total = 0
for i in range(1, 6):
error = int(input(f'#{i} Введите количество ошибок: '))
total += error
print('Всего количество ошибок: ', total) Задание 2 for run in range(10, 35, 5):
print(run * 4.2) Задание 3 total = 0
exit = '+'
sum = int(input('Введите сумму денег на месяц: '))
while exit != '-':
rashod = int(input('Введите суммы статьи расхода: '))
total += rashod
exit = input('Еще?')
if (sum - total) >= 0:
print('У вас осталось: ', sum - total)
else:
print('Перерасход: ', sum - total) Задание 4 speed = int(input('Введите скорость в км/ч: '))
hours = int(input('Введите время в часах: '))
print('Час\t\t', 'Расстояние')
print('---------------------')
for i in range(1, hours+1):
print(f'{i}\t\t{i * speed}') Задание 5 total = 0
years = int(input('Введите количество лет: '))
for i in range(years):
print('Год #', i + 1)
for y in range(12):
mm = int(input('Введите количество осадков в мм: '))
total += mm
print('Вс