結果 : check if two strings have common characters python