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/ex4/ft_plant_age.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 py00/ex4/ft_plant_age.py (limited to 'py00/ex4/ft_plant_age.py') diff --git a/py00/ex4/ft_plant_age.py b/py00/ex4/ft_plant_age.py new file mode 100644 index 0000000..b2d645b --- /dev/null +++ b/py00/ex4/ft_plant_age.py @@ -0,0 +1,6 @@ +def ft_plant_age(): + age = int(input("Enter plant age in days: ")) + if age > 60: + print("Plant is ready to harvest!") + else: + print("Plant needs more time to grow.") -- cgit v1.2.3