• Dandroid@dandroid.app
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    10 months ago

    I don’t use python too often, but I need to use it every once in a while. Every fucking time I get the red squiggly under “true” and I’m sitting there for a second like, “…the fuck??? Ohhhhh, right.”

    Every time.

    • d_k_bo@feddit.de
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      edit-2
      10 months ago

      Just put

      true = False
      false = True
      

      at the top of your files.