Files
42-Piscine_Python/00/ex2/ft_harvest_total.py
David Gailleton 01854a4fb7 piscine 00
2025-12-18 15:39:15 +01:00

9 lines
243 B
Python

def ft_harvest_total():
print("Day 1 harvest:", end=" ")
d1 = int(input())
print("Day 2 harvest:", end=" ")
d2 = int(input())
print("Day 3 harvest:", end=" ")
d3 = int(input())
print("Total harvest:", d1 + d2 + d3)