x = [1, 2, 3, 4, 5]
y = [2, 4]
def remove_duplicados(l1, l2):
return [i for i in l1 if i not in l2]
z = remove_duplicados(x, y)
print(type(z)) # <class 'list'>
eCA9IFsxLCAyLCAzLCA0LCA1XQp5ID0gWzIsIDRdCgpkZWYgcmVtb3ZlX2R1cGxpY2Fkb3MobDEsIGwyKToKICAgIHJldHVybiBbaSBmb3IgaSBpbiBsMSBpZiBpIG5vdCBpbiBsMl0KCnogPSByZW1vdmVfZHVwbGljYWRvcyh4LCB5KQoKcHJpbnQodHlwZSh6KSkgICMgPGNsYXNzICdsaXN0Jz4=