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

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