<gh_stars>1-10
class Astronaut:
    def __init__(self, name):
        self.name = name

    def __str__(self):
        return f'My name... {self.name}'


jose = Astronaut(name='<NAME>')

str(jose)       # My name... <NAME>
print(jose)     # My name... <NAME>

class Astronaut:
    def __init__(self, name):
        self.name = name

    def __str__(self):
        return f'My name... {self.name}'


jose = Astronaut(name='<NAME>')

str(jose)       # My name... <NAME>
print(jose)     # My name... <NAME>
# My name... <NAME> # My name... <NAME>