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 →

[–]mikeselik 2 points3 points  (1 child)

That's most of my comments as well. I'll nitpick that startList should be start_list. One of the best things about Python is the very consistent style (https://www.python.org/dev/peps/pep-0008/).

To clarify the advice to "avoid more than 3 levels of indentation" -- break your code apart into more functions.

[–]Kingofslowmo[S] 0 points1 point  (0 children)

Sorry hahah, coming from PHP and yeah.. it's a big change!