📜  python 设置交集 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:33.585000             🧑  作者: Mango

代码示例2
# Enter your code here. Read input from STDIN. Print output to STDOUT
num1, st1, num2, st2 = (set(input().split()) for i in range(4))
print(len(st1.intersection(st2)))