how to compare two strings in python using for loopの検索結果