syntax for simple if in pythonの検索結果