in javascript you can do:
i = -1;
array.forEach(function() {
i++
eval("var item" + i + " = " + array[0]);
});
to dynamically create variables, used this a couple of times to write data from an external JSON array into divs for each, is something like this possible in python(3.7)? especially the eval() method.
thanks in advance!