Answers for "python compare sets"

0

python compare sets

a = {1,2,3}
b = {3,4,5}
c = a.intersection(b)
print(c) # {3}
Posted by: Guest on February-16-2022

Python Answers by Framework

Browse Popular Code Answers by Language