I was trying to create dynamically variables in python by the following code:
for i in range (1,10):
xi = 'wow'
Surprisingly this didn't show any error, which I did expect. But on calling the variable, I experienced something unexpected:
>>>x1
NameError: name 'x1' is not defined
What supressed the error in the creation and what raised the error here?