I\'m trying to return variable name, but i keep getting this:
Below is my cod
Python prints the location of class objects in memory if they are passed to the print()
function as default. If you want a prettier output for a class you need to define the __repr__(self)
function for that class which should return a string that is printed if an object is passed to print()
. Then you can just return guy1