Use a dictionary:
>>> x=['a', 'b', 'c', 'd']
>>> di={k:[] for k in x}
1
solved How to make several list which have a name already decided variable [closed]
Use a dictionary:
>>> x=['a', 'b', 'c', 'd']
>>> di={k:[] for k in x}
1
solved How to make several list which have a name already decided variable [closed]