添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
x = { " apple " , " banana " , " cherry " } y = { " google " , " microsoft " , " apple " } z = x . difference ( y ) print ( z )

输出结果为:

{'cherry', 'banana'}