write the syntax of nested if statement in pythonの検索結果