列表求差集

a=[2,3,4,5]

b=[2,5,]

set(a).difference(b)

猜你喜欢

转载自blog.csdn.net/qq_35037684/article/details/113740917