mirror of
https://github.com/DavidGailleton/42-Piscine_Python.git
synced 2026-01-27 01:01:59 +00:00
piscine 00
This commit is contained in:
7
00/ex3/ft_plant_age.py
Normal file
7
00/ex3/ft_plant_age.py
Normal file
@@ -0,0 +1,7 @@
|
||||
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.")
|
||||
Reference in New Issue
Block a user