I got 99 problems


hello esteemed community. i get an error but can't figure out where the error is. thank you for your advice.

def greater_less_equal_5(answer):
if 4 == 5:
return 1
elif 4 < 5:
return -1
return 0

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


Your indentation is wrong. Also, what is the point of using an input in your function?


The indentation is one issue. You are also missing the variable, also the first if statement is supposed to be "If the answer is greater than 5".


I make the mistake of actually trying to solve the equation, when all you are meant to do is fill in and repeat as per statement. In such a case:
if answer > 5:
return 1
elif answer < 5:
return -1



Please, do not post random code (especially without formatting it) with no explanation.

That is against the community guidelines.