Newbie White Space

Edward C. Jones edcjones at
Thu Mar 30 21:22:49 CEST 2000

In article <8bc1oo$qjc$1 at>,

... "does Python check white space" ...

Python does not make blocks using {} like C. It uses indents
End-of-line means end-of-statement unless a "\" is at the end of
the line.
In the examples, I will use a "^" where ever I want a space.



#^Print^all^combinations^of ^a^letter^followed^by^a^number.

Indenting is the big difference between Python and other
languages. It is,
surprisingly, not all that well documented. Go to
Read the Python Tutorial, Section 3.2. Then find the Python
Manual, and look at section 2.1.7.

More information about the Python-list mailing list