setx = set(["apple", "mango"]) sety = set(["mango", "orange"]) #Symmetric difference setc = setx ^ sety print(setc)
setx = set(["apple", "mango"]) sety = set(["mango", "orange"]) #Symmetric difference setc = setx ^ sety print(setc)
上一篇:python 集合取最大最小值
下一篇:python 集合清空
记录解决qt绘制图形时图形交并补的问题
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M