📅  最后修改于: 2022-03-11 14:48:12.086000             🧑  作者: Mango
代码示例1
x = {"apple", "banana", "cherry"}
y = {"google", "microsoft", "apple"}
z = x.intersection(y)
print(z)
# Output: {"apple"}