[Solved] how to transform a string in a variable name ? python [duplicate]


print(eval(str(“value” + str(x))))

But must not use eval even if you know it’s completely secure. There is always a better way.

6

solved how to transform a string in a variable name ? python [duplicate]