summaryrefslogtreecommitdiff
path: root/progs/a618.py
blob: c231942ffbd8c287754618f833e34df3da8b92ad (plain)
1
2
3
from itertools import combinations_with_replacement 
def combinations_colors(l, n):
    return list(combinations_with_replacement(l,n))