How do I get the value of a variable with a specified name? What should I ask?

like PHP can do this:

a = "var"
class test:
    var = "value"
T = test()
t ??? a : value
Mar.29,2021
Menu