Skip to content

Instantly share code, notes, and snippets.

@aSipiere
Created April 9, 2019 11:11
Show Gist options
  • Save aSipiere/98b1271c496f21afbced0684e89935f9 to your computer and use it in GitHub Desktop.
Save aSipiere/98b1271c496f21afbced0684e89935f9 to your computer and use it in GitHub Desktop.
Recursive Default Dictionary
from collections import defaultdict
r_dd = lambda: defaultdict(r_dd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment