I tied my code and iit doesn't work


#1

i tied my code and iit doesn't work
def greater_less_equal_5(answer):
if 5 < answer:
return 1
elif 5 > awnser:
return -1
else:
return 0

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

can someone tell me what i am doing wrong


I Got 99 Problems, But a Switch Ain't One
#2

Hi this part you wrote

elif 5 > awnser:

awnser instead of answer