My Python Quiz

The ultimate place to learn Python!

Question #23: What gets printed?

class parent:
    def __init__(self, param):
        self.v1 = param

class child(parent):
    def __init__(self, param):
        self.v2 = param

obj = child(11)
print "%d %d" % (obj.v1, obj.v2)