Hi there. I’ve been stuck on Task 4 for 30 minutes and don’t know what I’m doing wrong :(. How should I approach this task differently? Maybe I don’t understand the instructions? This is my code below,
EXPECTED_BAKE_TIME = 40
def bake_time_remaining(elapsed_bake_time):
elapsed_bake_time = EXPECTED_BAKE_TIME - elapsed_bake_time
return elapsed_bake_time
def preparation_time_in_minutes(number_of_layers):
PREPARATION_TIME = 2
number_of_layers = number_of_layers * PREPARATION_TIME
return number_of_layers
# this one is task 4 :(
def elapsed_time_in_minutes(number_of_layers, elapsed_bake_time):
total = EXPECTED_BAKE_TIME - number_of_layers + elapsed_bake_time
return total
Please help :((