set intersection 28 29 operation solution in python3

Solutions on MaxInterview for set intersection 28 29 operation solution in python3 by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "set intersection 28 29 operation solution in python3"
Thibault
28 Jul 2017
1# Enter your code here. Read input from STDIN. Print output to STDOUT
2num1, st1, num2, st2 = (set(input().split()) for i in range(4))
3print(len(st1.intersection(st2)))