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")