From 3333b8503de5dbc238aea1696b69b2af2312d69d Mon Sep 17 00:00:00 2001 From: David GAILLETON Date: Sat, 31 Jan 2026 10:53:59 +0100 Subject: [PATCH] FIX: 00 --- 00/ex5/ft_count_harvest_recursive.py | 2 +- 00/ex7/ft_seed_inventory.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/00/ex5/ft_count_harvest_recursive.py b/00/ex5/ft_count_harvest_recursive.py index b8632e5..642d282 100644 --- a/00/ex5/ft_count_harvest_recursive.py +++ b/00/ex5/ft_count_harvest_recursive.py @@ -1,4 +1,4 @@ -def ft_count_harvest_recursive(x=-1): +def ft_count_harvest_recursive(x: int = -1): if x < 0: print("Days until harvest:", end=" ") x = int(input()) diff --git a/00/ex7/ft_seed_inventory.py b/00/ex7/ft_seed_inventory.py index 2a7382e..e985773 100644 --- a/00/ex7/ft_seed_inventory.py +++ b/00/ex7/ft_seed_inventory.py @@ -4,6 +4,7 @@ def ft_seed_inventory(seed_type: str, quantity: int, unit: str) -> None: elif unit == "grams": print(seed_type.capitalize(), "seeds:", quantity, unit, "total") elif unit == "area": - print(seed_type.capitalize(), "seeds:", "covers", quantity, "square meters") + print(seed_type.capitalize(), "seeds:", "covers", + quantity, "square meters") else: print("Unknown unit type")