完成第二题

master
anyin233 5 years ago
parent 8ed8f0af48
commit d854211695

@ -0,0 +1,4 @@
setA = set('asdfghjkl')
setB = set('qweasdzxc')
print("交集为 {}\n并集为 {}\n差集为 {}".format(setA.intersection(setB), setA.union(setB), setA.difference(setB)))
Loading…
Cancel
Save