Anonymous user
Bulls and cows/Player: Difference between revisions
m
disambiguate link
No edit summary |
m (disambiguate link) |
||
Line 1:
{{task|Games}}
The task is to write a ''player'' of the [[Bulls and cows|Bulls and Cows game]], rather than a scorer. The player should give intermediate answers that respect the scores to previous attempts.
=={{header|Python}}==
<lang python>from itertools import permutations
from random import shuffle
|