mirror of
https://github.com/DavidGailleton/42-Piscine_Python.git
synced 2026-11-01 08:52:03 +01:00
piscine 00
This commit is contained in:
1 parent
029903f8dd
commit
01854a4fb7
9 files changed
+62
No files matched your search
@@ -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