I have a list of variables like:
master = ['A', 'B', 'C', 'D']
I want to loop over master
and create n
lists where n is number of variables.
Also the names of the lists should be by the name of the elements
I tried:
for i in master:
i = list()
print(i)
but here the list doesn't have any name