How can I make multiple lists based on the elements in one existing list? Names and elements of these new lists are both determined by the existing list.
For example, the existing list is:
a = [2,5,4]
The desired output is:
a_2= ['01','02']
a_5= ['01','02','03','04','05']
a_4= ['01','02','03','04']
I am not sure how to loop to create different list names. Any ideas?