python_modules / module-00 / ex4 / ft_plant_age.py 106 commits
09-05-2026
6 lines 191 B
1def ft_plant_age():
2    days = int(input("Enter plant age in days: "))
3    if days > 60:
4        print("Plant is ready to harvest!")
5    else:
6        print("Plant needs more time to grow.")