override to string python code example Example: override to string python def __str__(self): return "foo"