Combinations with X unique numbers in Python : <p>I want to find combinations of 12 digits of numbers from 1-225  and then find which of these combinations contain only 6 unique numbers (eg: 123456123456).</p>

<p>Now i’ve managed to find the Itertools library for combinatorics but i can’t seem to figure out how to extract the ones with only 6 unique digits.</p>

<p>Any help would be appericiated.</p>
