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
    6
    ·
    1 year 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
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year 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.