Online Python Compiler.
Code, Compile, Run and Debug python program online.
Write your code in this editor and press "Run" button to execute it.
"""Take 2 lists and check for the intersection between the two sets"""
a = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,8,5,7,9,21,55,89,89,55]
b = [1,1,2,3,5,8,13,21,34,55,89]
intersection = 
for i in a:
for j in b:
if j == i:
intersection_set = set(intersection)
new_list = list(intersection_set)