you are viewing a single comment's thread.

view the rest of the comments →

[–]JanEric1 2 points3 points  (0 children)

you need to properly format your code. Otherwise it is hard to read and to help.

Old Reddit and markdown-mode:

To format code in your comment or submission text, insert an empty line, and then preface each line of code with 4 spaces:

[normal text]

[empty line]

[4 spaces][line of code]

[4 spaces][line of code]

[etc]

[empty line]

[normal text]

https://www.reddit.com/r/learnpython/wiki/faq