Hello everyone I have a lot of trouble understading this chapter.

This excersice: https://gist.github.com/450f8942d5103c3428685732c87a8e53

def greater_less_equal_5(answer):

if answer > 5:

return 1

elif answer < 5:

return -1

else:

return 0

print greater_less_equal_5(4)

print greater_less_equal_5(5)

print greater_less_equal_5(6)

Sure, it tells me what to do and what to fill but… Why the answers are in this order -1, 0 and 1. Pretty much I don’t understand how this code is written.

If somebody can help me with this, it will let me sleep tonight

Thank you!!