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