I want to create an instance with a name that is dependent upon user input. So i have a string of user input in string 'x' now i want to make this an instance, but if i do this the normal way:
x = klass()
'x' will just become the name of the instance, not the sring that x represents. how would i go about doing this?
x = klass()
'x' will just become the name of the instance, not the sring that x represents. how would i go about doing this?