summaryrefslogtreecommitdiff
path: root/py00/ex3/ft_harvest_total.py
diff options
context:
space:
mode:
Diffstat (limited to 'py00/ex3/ft_harvest_total.py')
-rw-r--r--py00/ex3/ft_harvest_total.py5
1 files changed, 5 insertions, 0 deletions
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)