I am writing a python code. In that code, I have to repeat a loop for multiple times. Each time I have to create an object and store some values in it.
In R, I can do that using assign function.
Ex:
for(i in 1:10)
assign(paste0("iter_",i),mtcars[i,])
Now my objective is to develop the same thing in Python. Is it possible in python?