piscine 00

This commit is contained in:
David Gailleton
2025-12-18 15:39:15 +01:00
parent 029903f8dd
commit 01854a4fb7
9 changed files with 62 additions and 0 deletions

7
00/ex3/ft_plant_age.py Normal file
View 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.")