摘要:
a = [1, 2, 3, 4, 5]b = [3, 4, 5, 6, 7]# a与b合并在一起组成的集合c = list(set(a).union(set(b)))print(c)# c = [1, 2, 3, 4, 5, 6, 7]# a中存在,而且b中也存在d = list(set(a).in 阅读全文
posted @ 2022-10-27 16:21
WebLinuxStudy
阅读(160)
评论(0)
推荐(0)
浙公网安备 33010602011771号