Trying to understand nested loops

Dan Stromberg drsalists at gmail.com
Fri Aug 5 19:55:18 EDT 2022


On Fri, Aug 5, 2022 at 12:30 PM GB <NOTsomeone at microsoft.invalid> wrote:

> On 05/08/2022 08:56, Frank Millman wrote:
>
> > BTW, there is an indentation error in your original post - line 5 should
> > line up with line 4.
>
> As a Python beginner, I find that Python is annoyingly picky about
> indents.  And, the significance of indents is a bit of a minefield for
> beginners.
>
No, you should indent properly anyway. Python just reduces the number of
things to worry about.

Please see:
https://stromberg.dnsalias.org/~strombrg/significant-whitespace.html
...for the usual.


More information about the Python-list mailing list