Untitled
unknown
plain_text
2 years ago
233 B
6
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)Editor is loading...
Leave a Comment