^p.s. does anyone here know how i can include # in the printed text without the apostrophe beforehand? Without it the # functions as an ignore character in python.
I don't think you need to escape the hash at all. It looks like you're using Pico, and Pico's syntax highlighting is a bit wonky. The code is fine but Pico makes it appear like you've commented out half the line.
Open the file in something else like VS Code, VIm or Sublime, and you'll see it's ok.
^p.s. does anyone here know how i can include # in the printed text without the apostrophe beforehand? Without it the # functions as an ignore character in python.