I've done some looking on how I can flip a variable name and that variable's value, but I have come up empty-handed.
What I want
Let me clarify what I would like with an example.
Imagine I had a variable called my_variable
and it's value would be a string 'my_new_variable'
my_variable = 'my_new_variable'
Is there any way that I can flip these so that it may look like this
my_new_variable = 'my_variable'