[Tutor] Curious, just being curious

Kalle Svensson kalle@gnupung.net
Fri, 1 Feb 2002 02:49:04 +0100


[James M Lang]
> In the online tutorial it showed examples like this:
> a = 3
> Is it really necessary for those spaces?

When in doubt, try it!  Start a python interpreter, enter
a=3
and see what happens.

And to answer your question, no.  The spaces aren't necessary there,
but IMO they make the code easier to read.

Peace,
  Kalle
-- 
Kalle Svensson (kalle@gnupung.net) - Laziness, impatience, hubris: Pick two!
English: http://www.gnupung.net/  Svenska: http://www.lysator.liu.se/~kalle/
Stuff: ["http://www.%s.org/" % x for x in "gnu debian python emacs".split()]