Untitled

 avatar
unknown
plain_text
a year ago
233 B
3
Indexable
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