字符串_删除公共字符 str1 = input() str2 = input() # print(str1,str2) str3 = "" for s in str1: if s not in str2: str3 += s print(str3)