You are viewing a single comment's thread. Return to all comments →
what dose "defaultdict(list)" mean? Why not set the default value with "-1",so there is no need to decide whether i is in list1
Seems like cookies are disabled on this browser, please enable them to open this website
DefaultDict Tutorial
You are viewing a single comment's thread. Return to all comments →
what dose "defaultdict(list)" mean? Why not set the default value with "-1",so there is no need to decide whether i is in list1