結果 : how to check if two strings have the same characters python