create a tostring method for python class code example Example: python class tostring def __str__(self): return "foo"