Fonction If Else Python Syntax Error