Qtr No. 213, New Town Yehlanka
Indore 454775, India
What will be the output of following Python code?
class Base:
def __init__(self, num):
self.n1 = num
class Child(Base):
def __init__(self, num):
self.n2 = num
oC = Child(12)
print(oC.n1, oC.n2)
To get all Infosys Certified Python Programmer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee