I cant pass this exercise


#1

def greater_less_equal_5(answer):
if ‘answer is greater than 5’:
return 1
elif ‘answer is less than 5’:
return -1
else:'answer is equal to 5’
return 0

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


#2

you learned the greater then > and smaller then < operators, i would use them here

else can’t have a condition, so remove else condition

not sure why your if and elif condition use string, answer is a variable, < and > are valid operators, 5 is an integer, so remove the apostrophes as well


#3

Thank you for you assistance


#4