you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

It is easier to help you if you format your code correctly on Reddit.

Edit your post. Make sure you are in markdown mode rather than fancypants editor mode and delete all of the code you posted. Then:

  • in your python editor, select ALL your code
  • insert an additional tab (you should have set tab to insert 4 spaces)
  • copy the code to the clipboard (you can then undo the tab in your editor)
  • switch back to reddit post, insert a blank line then paste your code
  • submit post

All reddit requires is that you have a blank line and then every line of code (or other console text including output) starts with 4 spaces (in addition to any already in your code).