Anonymous user
Set puzzle: Difference between revisions
m
→{{header|Python}}: missing markup tag
(→{{header|Python}}: fix code) |
m (→{{header|Python}}: missing markup tag) |
||
Line 470:
if len(sets) == dealt / 2:
break
printit(deal, sets)
</lang>
<small>Note: You could remove the inner square brackets of the <code>'if all( [...] )'</code> part of the sets computation in the getsets function. It is a remnant of Python 2.7 debugging which gives access to the name <code>feature</code>. The code works on Python 3.X too, but not that access.</small>
|