How could I pass it ? I need a help ! Thanks!


def greater_less_equal_5(answer):
if ________:
return 1
elif ________:
return -1
return 0

print greater_less_equal_5(4)
print greater_less_equal_5(5)
print greater_less_equal_5(6)


Hi you just need to put a condition to your if and elif statement with answer


sorry, I still don't understand:sob:


He means you have to put a condition in these areas:

A condition is the criteria an users input has to fit in order to have a return statement happen. In this case if the user's input fits the if statement(which you have yet to write) then the function will return 1, the corresponding return statement goes for the elif. Now write the criteria for the if elif statement based on the instructions. :slight_smile:


Thank you! I already know how to pass it!


Okay! Welcome! :slight_smile:


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