Avatar ·

How to dynamically create a variable

📁 Advanced Python Topics, example, AI

How to dynamically create a variable whose name can contain the value of another variable?

For example, you need to create a variable like this (pseudo-code):

  user_number.Value  

How to do this?