Set puzzle: Difference between revisions

→‎{{header|Python}}: incorrect template
(→‎{{header|Python}}: Different output - no real reason.)
(→‎{{header|Python}}: incorrect template)
Line 199:
 
=={{header|Python}}==
{{incorrect|Python| the code must generate 4 sets for 9 cards dealt, or 6 sets for 12 cards dealt}}
<lang python>from itertools import product, combinations
from random import sample
Anonymous user