I have 99 problems


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)

this is what mine looks like and i need help... ive been doing this one for forever. HELP

Lesson 14 - I have 99 problems, but a switch is not a

Use answer instead of an integer to assemble your function.
Example: instead of: 6> 5; Do so: answer> 5

Note that in the statement it says in what sense it is answer to the number 5 " > ", and answer in relation to the return -1 " < ".


And it's as simple as that, thinking outside the box...thanx


Sorry for a noob question, but I still having trouble to figure out what goes into line 4, could anyone help please?


Figure it out, thanks!


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