I want to create variables names to be assigned to each index in the values list. So Result0 = 10, Result1 = 3, Result2 = 44, Result1 = 56601. Trying to code a function that creates and assigns variables depending on the length of the values list. The Code below does not work.
Code:
values = [10,3,44,56601]
k= 0
for n in values:
Result{k} = n
k+=1
Expected Result
Result0 = 10
Result1 = 3
Result2 = 44
Result3 = 56601