結果 : invalid syntax error in if statement python