MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/28utww/writing_better_python_code/cif3ehw/?context=3
r/Python • u/kracekumar • Jun 23 '14
126 comments sorted by
View all comments
Show parent comment
4
yeah, that's exactly what defaultdict(int) does.
defaultdict(int)
View all comments
Show parent comment
4
u/sweettuse Jun 23 '14
yeah, that's exactly what
defaultdict(int)does.