收起
a = input() b = input() al = a.split(' ') bl = b.split(' ') l = list(set(al) & set(bl)) print(l)
如果对你有帮助,可以点击我这个回答右上方的【采纳】按钮,给我个采纳吗,谢谢
报告相同问题?