diff options
| author | yctct <yctct@yctct.com> | 2026-06-07 08:59:04 +0200 |
|---|---|---|
| committer | yctct <yctct@yctct.com> | 2026-06-07 08:59:04 +0200 |
| commit | 15115b4c52bfda0d1cca9fa1155beecbb873ec35 (patch) | |
| tree | b3f0975e63eb04dcba732a78ce9bd9abda8acf01 /py00/ex3/ft_harvest_total.py | |
First commit, add all files
Diffstat (limited to 'py00/ex3/ft_harvest_total.py')
| -rw-r--r-- | py00/ex3/ft_harvest_total.py | 5 |
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) |
