[Tutor] Creating a two dimension set

Cameron Simpson cs at cskk.id.au
Mon Nov 1 17:28:33 EDT 2021


On 01Nov2021 11:30, Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:
>On Mon, 1 Nov 2021 19:52:49 +1100, Cameron Simpson <cs at cskk.id.au>
>declaimed the following:
>
>>I wouldn't use strings. If you're doing Sudoku don't you want to do
>>arithmetic to check the sum? May as well make a set of ints:
>>
>	No arithmetic done in Sudoku... You can replace the 1..9 with A..I, or
>even emojis (if you can mentally keep track of such). The only thing one is
>doing is eliminating candidates for a cell if that candidate was already
>used on the row/column.

Ah, my Sudoku inexperience is revealed. Thanks for the correction!

Cheers,
Cameron Simpson <cs at cskk.id.au>


More information about the Tutor mailing list