I wanted to know if there's any way of converting a string in python into a variable name and assigning it a default value. For example suppose I had this loop,
for i in range(1,4):
"User"+str("i")=0
It would give me the variables User1, User2 & User3 assigned a default value 0 which I can modify at my discretion.
I know this is possible to do using files but is there another way to do it?