返回交集,等价于 & 运算符。
&
others
新集合
python = {"张三", "李四", "王五"} java = {"李四", "赵六"} print(python & java)
{'李四'}