mirror of
https://github.com/DavidGailleton/42-Piscine_Python.git
synced 2026-01-27 09:11:57 +00:00
9 lines
243 B
Python
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)
|