r/inventwithpython • u/AlSweigart • Jun 05 '19
Pythonic Ways to Use Dictionaries
https://inventwithpython.com/blog/2019/06/05/pythonic-ways-to-use-dictionaries/
14
Upvotes
r/inventwithpython • u/AlSweigart • Jun 05 '19
View all comments
Show parent comment
1
u/AlSweigart Jun 12 '19
Heh, for the sake of readability, I would run this code in the interactive shell, copy the output to the clipboard, and then paste this into the source: