syntax for nested if statement in python with exampleの検索結果