class Carlo(self): def start(self): print("Waking up....") print("Hello there!") self.describe() def describe(self): print("I'm a programmer, I use python and c#.") self.sleep() def sleep(): time.sleep(100) self.start() itsme = Carlo() itsme.start()