From 15115b4c52bfda0d1cca9fa1155beecbb873ec35 Mon Sep 17 00:00:00 2001 From: yctct Date: Sun, 7 Jun 2026 08:59:04 +0200 Subject: First commit, add all files --- py00/ex3/ft_harvest_total.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 py00/ex3/ft_harvest_total.py (limited to 'py00/ex3') diff --git a/py00/ex3/ft_harvest_total.py b/py00/ex3/ft_harvest_total.py new file mode 100644 index 0000000..d01db24 --- /dev/null +++ b/py00/ex3/ft_harvest_total.py @@ -0,0 +1,5 @@ +def ft_harvest_total(): + one = int(input("Day 1 harvest: ")) + two = int(input("Day 2 harvest: ")) + three = int(input("Day 3 harvest: ")) + print("Total harvest :", one + two + three) -- cgit v1.2.3