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/ex6/ft_count_harvest_iterative.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 py00/ex6/ft_count_harvest_iterative.py (limited to 'py00/ex6/ft_count_harvest_iterative.py') diff --git a/py00/ex6/ft_count_harvest_iterative.py b/py00/ex6/ft_count_harvest_iterative.py new file mode 100644 index 0000000..23c6657 --- /dev/null +++ b/py00/ex6/ft_count_harvest_iterative.py @@ -0,0 +1,5 @@ +def ft_count_harvest_iterative(): + count = int(input("Days until harvest: ")) + for i in range(1, count + 1, + 1): + print("Days ", i) + print("Harvest time!") -- cgit v1.2.3