Nested for loops and print statements
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Mon Sep 26 04:16:23 EDT 2016
On Monday 26 September 2016 17:21, Jussi Piitulainen wrote:
> Cai Gengyang <gengyangcai at gmail.com> writes:
[snip 80 or so lines]
> Reindent your lines.
In case Cai doesn't know what "reindent" means:
It depends on your text editor. At worst, you have to delete all the indents,
and re-enter them, using ONLY spaces, or ONLY tabs, but never mixing them.
Some text editors may have a command to reindent, or clean indentation, or fix
indentation, or something similar.
Or you can use the tabnanny.py program:
python -m tabnanny path/to/file.py
P.S. Hey Jussi, is the backspace key on your keyboard broken? Every time
somebody bottom-posts without trimming, a pixie dies...
--
Steven
git gets easier once you get the basic idea that branches are homeomorphic
endofunctors mapping submanifolds of a Hilbert space.
More information about the Python-list
mailing list