Practise makes perfect 14/15 Doesn't work


Practise makes perfect 14/15

I don't know why it doesn't work. Please help me

def greater_less_equal_5(answer):
    if answer > 5:
        return 1
    elif answer < 5: 
        return -1
        return 0

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


I believe you posted this in the wrong subcategory if you are referring to Practise makes perfect. There is a subcategory in Python for that. Also, Pmp 14/15 is remove_duplicates. Can you please provide a link to your question?


It isnĀ“t matter taking into account that i fixed it.


Ah ok. Good job fixing it!


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