博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
SWIFT SET
阅读量:1906 次
发布时间:2019-04-26

本文共 235 字,大约阅读时间需要 1 分钟。

// set

var menu: Set = [“Shandong”,“Shanghai”,“Jiangsu”,“Zhejiang”,“Beijing”,“Shanxi”]

menu.insert(“Sichuan”)

var aFavFood: Set = [“Sichuan”, “Jiangsu”]

var bFavFood: Set = [“Sichuan”, “Zhejiang”]

print(aFavFood.intersection(bFavFood))

在这里插入图片描述

转载地址:http://nbccf.baihongyu.com/

你可能感兴趣的文章
【深度学习笔记】常见的图像增强方法:scaling、rotating、flipping、random cropping
查看>>
【深度学习笔记】标准卷积
查看>>
【深度学习笔记】组卷积
查看>>
【深度学习笔记】循环神经网络和递归神经网络区别
查看>>
【学习笔记】英文科技论文常见英语句式积累
查看>>
【深度学习笔记】PixelShuffle
查看>>
【python3学习笔记】斜杠和双斜杠运算符的区别
查看>>
【深度学习笔记】torch.nn.Sequential(* args) 与 torch.nn.Module
查看>>
【深度学习笔记】用torch.nn.Sequential()搭建神经网络模型
查看>>
【深度学习笔记】用torch.nn.ModuleList搭建神经网络
查看>>
【解决错误】AttributeError: module ‘scipy.misc‘ has no attribute ‘imread‘
查看>>
【解决错误】复现RCAN的时候遇到了ImportError: cannot import name ‘_update_worker_pids’ from ‘torch._C’
查看>>
【解决错误】ModuleNotFoundError: No module named ‘skimage‘
查看>>
【深度学习笔记】pytorch的点乘(dot product)
查看>>
【深度学习笔记】残差
查看>>
【错误解决】cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\sr
查看>>
【python学习笔记】读取指定文件夹中的图片,结合边缘保留滤波EPF
查看>>
【工具和环境】Linux下安装pycharm
查看>>
【Accumulation】The last two sentences of the abstract
查看>>
【Accumulation】The definition of SISR
查看>>