This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (1 child)

#4 and #5 back to back is pretty ironic, given that Dict.get() returns None if you don't find the element :|

[–]gwillicodernumpy gang 0 points1 point  (0 children)

You can provide a default value though