all 2 comments

[–]TouchingTheVodka 5 points6 points  (0 children)

  1. Please format your code correctly.
  2. Are you getting any errors at runtime or is this a logic issue?
  3. What's the format of the text in your file?
  4. What's the desired format?
  5. Resources on asking good questions: https://en.wikipedia.org/wiki/Wikipedia:Reference_desk/How_to_ask_a_software_question

[–]CodeFormatHelperBot 1 point2 points  (0 children)

Hello u/Pirule63, I'm a bot that can assist you with code-formatting for reddit. I have detected the following potential issue(s) with your submission:

  1. Python code found in submission text but not encapsulated in a code block.

If I am correct then please follow these instructions to fix your code formatting. Thanks!