Contact: aviboots(AT)netvision.net.il
41,575 questions
54,197 answers
573 users
from collections import Counter c = Counter(a=3, b=2, c=1, d=0) lst = list(c.elements()) print(lst) ''' run: ['a', 'a', 'a', 'b', 'b', 'c'] '''