If you want to turn the variable name into a key, here is a similar question.
If you just want a dictionary of lists with a sequential key.
lst1 = [1,2,3,4] lst2 = [3,4,6,7] lst3 = [5,8,9] def turn_to_dict(*args): my_dict =return {} i: v for posi, v in xrange(lenenumerate(args)):} lst1 = [1, 2, 3, 4] lst2 = [3, my_dict[pos]4, =6, args[pos]7] returnlst3 my_dict= [5, 8, 9] printv = turn_to_dict(lst1, lst2, lst3) # >>> print(v) {0: [1, 2, 3, 4], 1: [3, 4, 6, 7], 2: [5, 8, 9]}