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/ex4/ft_water_reminder.py
Normal file
7
00/ex4/ft_water_reminder.py
Normal file
@@ -0,0 +1,7 @@
|
||||
def ft_water_reminder():
|
||||
print("Days since last watering:", end=" ")
|
||||
x = int(input())
|
||||
if x > 2:
|
||||
print("Water the plants!")
|
||||
else:
|
||||
print("Plants are fine")
|
||||
Reference in New Issue
Block a user