Python判断 子集

a = [1,2,3,4]
b = set([1,2])
b.issubset(a)
posted @ 2022-08-19 22:58  luoganttcc  阅读(19)  评论(0)    收藏  举报