how can we check there is two same elements in same list in python code example
Example: python same values in two lists
a = {1, 2, 3, 4}
b = {3, 4, 5, 6}
a.intersection(b)
a = {1, 2, 3, 4}
b = {3, 4, 5, 6}
a.intersection(b)