Dear all problems solver and code guys,


#1



I can't solve with a exercise such following:


def greater_less_equal_5(answer):
    if 6 > 5:
        return 1
    elif 4 > 5:          
        return -1
    else:
        return 0
        
print greater_less_equal_5(4)
print greater_less_equal_5(5)
print greater_less_equal_5(6)


#3

Use the argument given in answer

if answer > 5:

and so on.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.