結果 : how to type an if statement in python