What is the problem with my code?



def one_good_turn(n):
    return n + 1
def deserves_another( one_good_turn(n) ):
    return one_good_turn + 2


from the instructions:

Change the body of deserves_another so that it always adds 2 to the output of one_good_turn

this is the body of the deserves_another function:

return one_good_turn + 2

you should make the changes here, not to the function parameter


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.