diff --git a/content/solutions/01_22.py b/content/solutions/01_22.py index 8b6331f..3bbf466 100644 --- a/content/solutions/01_22.py +++ b/content/solutions/01_22.py @@ -1,4 +1,7 @@ name_1 = "Sandrine" name_2 = "Cheuk" -print(f"Is {name_1} > 5 and {name_2} < 7 characters? {(len(name_1) > 5) and (len(name_2) < 7)}") \ No newline at end of file +length_1 = len(name_1) > 5 +length_2 = len(name_2) < 7 + +print(f"Is {name_1} > 5 and {name_2} < 7 characters? {length_1 and length_2}") \ No newline at end of file