diff --git a/file.py b/file.py index e69de29..6e96b2e 100644 --- a/file.py +++ b/file.py @@ -0,0 +1,4 @@ +#write a program that returns a list that contains only the elements that are common between the lists +a = set([1, 1, 2, 4, 6, 7]) +b = set([1, 2, 3, 4, 5, 6]) +print (set(a & b))