@@ -39,7 +39,7 @@ def add_one_and_divide_by_two_with_an_expression(num):
3939
4040def divide_by_two_and_add_one (num ):
4141 # Divide num by two and add one to the result
42- pass # <-- This does nothing, replace it with your code
42+ return num / 2 + 1 # <-- This does nothing, replace it with your code
4343
4444check_that_these_are_equal (
4545 divide_by_two_and_add_one (6 ),
@@ -53,7 +53,7 @@ def divide_by_two_and_add_one(num):
5353
5454def multiply_by_forty_and_add_sixty (num ):
5555 # Multiply num by forty, and then add sixty
56- pass # <-- This does nothing, replace it with your code
56+ return num * 40 + 60 # <-- This does nothing, replace it with your code
5757
5858check_that_these_are_equal (
5959 multiply_by_forty_and_add_sixty (3423 ),
@@ -67,7 +67,7 @@ def multiply_by_forty_and_add_sixty(num):
6767
6868def add_together_and_double (num_a , num_b ):
6969 # Add together num_a and num_b, then double the result
70- pass # <-- This does nothing, replace it with your code
70+ return ( num_a + num_b ) * 2 # <-- This does nothing, replace it with your code
7171
7272check_that_these_are_equal (
7373 add_together_and_double (3 , 4 ),
0 commit comments