creating a dictionary with list of lists in python,inlinkDict[docid] = adoc[1:] if adoc[1:] else 0