this post was submitted on 12 Jun 2023
24 points (100.0% liked)
Python
1913 readers
3 users here now
A community for talking about the Python programming language.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.