You are reading a single comment by @rhb and its replies. Click here to read the full conversation.
  • ^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.

  • Total guess but have you tried ##?

  • A backslash should escape it.

    Can you post up your code?

  • 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.

About

Avatar for rhb @rhb started