Can someone help me with this code


#1

hi can someone help me with this code

def greater_less_equal_5(answer):
if 5 > answer :
return 1
elif 5 < answer:
return -1
else:
return 0

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


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

HI your if adn else if statement should be like that