My Python Quiz

The ultimate place to learn Python!

Question #33: What gets printed by the code below?

class Person:
    def __init__(self, id):
        self.id = id

obama = Person(100)

obama.__dict__['age'] = 49

print obama.age + len(obama.__dict__)