两个list的交集

list(set(a).intersection(set(b)))

猜你喜欢

转载自blog.csdn.net/weixin_40530363/article/details/90669035