KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
If I have d=dict(zip(range(1,10),range(50,61))) how can I build a collections.defaultdict out of the dict ? The only argument defaultdict seems to take is the factory function, will I have to initialize and then go through the original d and update the defaultdict ?
Tags (comma-separated)
Save Edits
Cancel