Python Quiz-2 oops polymorphism

Hi @shivrajrtandale98 @zk6290254938 ,have a doubt in the Quiz-2 oops concept polymorphism in python certification preparation


in the code print stmt has obj1,… which is not mentioned or declared in the code which throws an exception
image
why it was marked as wrong answer?
And other question

the execution will not give any input but u have give the answer for this

1 Like

@bhavani.gangisheety hello… in question 1 just change obj1 as o1, obj2 as o2 and obj3 as o3. You will ge expected output. In question 2 their may be mistake while assigning answer. It is just for your practice… so don’t worry. Here, your marks will not be deducted.

1 Like

but leads to the confusion @shivrajrtandale98

1 Like

Yes…@bhavani.gangisheety will try to minimize such errors.