from collections import defaultdict def tree() return defaultdict(tree)
简洁的Python
原文:https://www.cnblogs.com/jachin/p/9813981.html