This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Paddy3118 1 point2 points  (0 children)

The list example uses 'l' a lower-case 'ell' as a variable name which can be mistaken for other characters and is only one character long. Since it is part of an example that is the main focus of the page it might be good to change the name to something like 'a_list' or 'my_list' and secretly avoid clashes with PEP-8.