From 4a8b14cb04c674b03f110d5135fe38fb0dad8c01 Mon Sep 17 00:00:00 2001 From: rachealben <133984839+rachealben@users.noreply.github.com> Date: Tue, 9 Apr 2024 18:07:32 +0100 Subject: [PATCH] Update 027_comparison.py --- 027_comparison.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/027_comparison.py b/027_comparison.py index 4f29ef98..ae46dcd9 100644 --- a/027_comparison.py +++ b/027_comparison.py @@ -39,7 +39,7 @@ def a_is_equal_to_b(a, b): def a_is_less_than_b(a, b): # Uncomment this next line and replace ?? with the right operator - # return a ?? b + # return a < b pass check_that_these_are_equal( @@ -63,7 +63,7 @@ def a_is_less_than_b(a, b): print("Function: a_is_greater_than_b") def a_is_greater_than_b(a, b): - # return a ?? b + # return a > b pass check_that_these_are_equal( @@ -87,7 +87,7 @@ def a_is_greater_than_b(a, b): print("Function: a_is_less_than_or_equal_to_b") def a_is_less_than_or_equal_to_b(a, b): - # return a ?? b + # return a <= b pass check_that_these_are_equal( @@ -111,7 +111,7 @@ def a_is_less_than_or_equal_to_b(a, b): print("Function: a_is_greater_than_or_equal_to_b") def a_is_greater_than_or_equal_to_b(a, b): - # return a ?? b + # return a >= b pass check_that_these_are_equal( @@ -135,7 +135,7 @@ def a_is_greater_than_or_equal_to_b(a, b): print("Function: a_is_not_equal_to_b") def a_is_not_equal_to_b(a, b): - # return a ?? b + # return a != b pass check_that_these_are_equal( @@ -161,7 +161,7 @@ def a_is_not_equal_to_b(a, b): # May be a little tricky — search for # "python check if string contains substring" def a_is_within_b(a, b): - # return a ?? b + # return a in b pass check_that_these_are_equal(