____ is missing. The program should print Ira 30.
class Named:
def __init__(self, name):
self.name = name
class Aged:
def __init__(self, age):
self.age = age
class Person(Named, Aged):
def __init__(self, name, age):
Named.__init__(self, name)
____
p = Person("Ira", 30)
print(p.name, p.age)
Which line, put in place of ____, makes the program print Ira 30?Log in to join the discussion.
Loading…