samedi 9 janvier 2016

Why am I getting the following if/elif wrong? [on hold]

def greater_less_equal_5(answer):
    if 4>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)

Aucun commentaire:

Enregistrer un commentaire