python_modules / module-00 / ex3 / ft_harvest_total.py 106 commits
09-05-2026
5 lines 152 B
1def ft_harvest_total():
2    weight = 0
3    for i in [1, 2, 3]:
4        weight += int(input(f"Day {i} harvest: "))
5    print(f"Total harvest: {weight}")