<filename>prova.py
class Hour:
    def __init__ (self, h):
        self.h = h


def __repr__(self):
    return str(self.h)

h = Hour(9)

print(h)

<filename>prova.py
class Hour:
    def __init__ (self, h):
        self.h = h


def __repr__(self):
    return str(self.h)

h = Hour(9)

print(h)
