diff options
Diffstat (limited to 'py00/ex6/ft_count_harvest_iterative.py')
| -rw-r--r-- | py00/ex6/ft_count_harvest_iterative.py | 5 |
1 files changed, 5 insertions, 0 deletions
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!") |
