From 32d0b9a2c4ad1514895bf62cec0d058b5cd3b3c8 Mon Sep 17 00:00:00 2001 From: AnnaAgf <43129985+AnnaAgf@users.noreply.github.com> Date: Sun, 25 Nov 2018 19:08:17 +0300 Subject: [PATCH] Update file.py --- file.py | 4 ++++ 1 file changed, 4 insertions(+) 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))