All you're doing here is providing the condition for the if and elif statements.
if answer > 5:
elif answer < 5:
This is creating the perimeters for what will be returned for any given int value entered in the below statements.
print greater_less_equal_5(4) #because value in parentheses is less than 5, print -1
print greater_less_equal_5(5) #because value in parentheses is not less than 5 or greater than 5, print 0
print greater_less_equal_5(6) #because value in parentheses is greater than 5, print 1
The code above is testing what values are in the parentheses and returning 1, -1, 0 accordingly. These are entered with a print statement to provide a read out in the terminal.
The return will read something like
Sorry for the format not matching what it would look like in the actual code. I hope you can still understand this.