With r/python out for the next 48 hours, here’s a post to promote continuing discussion a language we all love. Python.

  • frostprophet@infosec.pub
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 years ago

    I’m doing a python introduction course, I’ve made a hangman game and caeser cypher builder so far. It’s just started getting into dictionaries so it would probably have something to do with that

    • Clay_pidgin@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      Dictionaries are awesome! There are also Collections.defaultDict that you need to import specifically, but lets you assign values before the keys exist. Quite handy.