Suppose I have an object :

a = 3

I want to output the name a and the contents 3
Outputing the contents is no problem.
Is  there a method to output the name of the variable (object)