Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
233 B
2
Indexable
Never
from collections import Counter

List1 = ['giallo' , "verde" , "rosso"]
List2 = ['giallo', "giallo", "verde", "giallo", "bianco", "verde"]

list3=list((Counter(List2) - Counter(List1)).elements())
print("lista finale: ", list3)
Leave a Comment