[Tutor] Creating Sudoku

W W srilyk at gmail.com
Mon Apr 7 17:34:41 CEST 2008

On 4/7/08, Luke Paireepinart <rabidpoobear at gmail.com> wrote:
> W W wrote:
>  What are you talking about?  I don't understand what you mean by "ignores
> whitespace between dictionary elements."
> > foo = {'1a': 1, '1b':2, '1c':3,
> >           '2a': 0, '2b': 9, '2c': 6}

Exactly that. If you were to write:

foo = {'1a': 1, '1b':2, '1c':3}
    foo['2a'] = 0

You would get a nifty error.


To be considered stupid and to be told so is more painful than being
called gluttonous, mendacious, violent, lascivious, lazy, cowardly:
every weakness, every vice, has found its defenders, its rhetoric, its
ennoblement and exaltation, but stupidity hasn't. - Primo Levi

More information about the Tutor mailing list