14/15 Help


I really don't understand this problem. Btw, here are the instructions and the code.

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)

01. On line 2, fill in the if statement to check if answer is greater than 5.
02. On line 4, fill in the elif so that the function outputs -1 if answer is less than 5.


How do we write a greater than expression?

answer > 5

And a less than expression?

answer < 5

All the rest of the work is done, so replace the _'s with an expression.