Files
42-Piscine_Python/00/ex3/ft_plant_age.py
David Gailleton 01854a4fb7 piscine 00
2025-12-18 15:39:15 +01:00

8 lines
209 B
Python

def ft_plant_age():
print("Enter plant age in days:", end=" ")
age = int(input())
if age > 60:
print("Plant is ready to harvest!")
else:
print("Plant needs more time to grow.")