First page Back Continue Last page Overview Image

Klassendekorator, Teil 2

@augment_answer

class Philosopher1:

pass

@augment_answer

class Philosopher2:

pass

@augment_answer

class Philosopher3:

pass

plato = Philosopher1()

kant = Philosopher2()

# let's see what Plato and Kant have to say :-)

if required:

print(kant.the_answer())

print(plato.the_answer())

else:

print("The silence of the philosphers")