I am a newbie. I have created a list from a .csv file:
h = [2.3, 1.4, 4.5, 4.5, 1.4, 2.3]
The number of items in the list varies (from 2 to 36) depending on the .csv file. I want to create incremental variables from the list like this (so I can use them later in the code):
L1 = 2.3
L2 = 1.4
L3 = 4.5
L4 = 4.5
L5 = 1.4
L6 = 2.3
My problem is that the number of items in the list from the .csv file varies and I have tried using the increment and enumerate methods, but I cannot make it work at all.