Example & Tutorial understanding programming in easy ways.

Find the Intersection of two set in Python ?

Program:

s1={1,2,3}

s2={2,3,4,5}

print(s1 & s2)

output:

{2,3}

Read More →