Python MCQ Questions Set-2

python-mcq
Python MCQ Questions:- Q1. What is the output of the following code? print(type(type())) a)Error b)Null c)None d)None of the above Answer a Q2.What is the output of following code? print(type(type)) a) <class 'type'> b)Error c) <class 'none'> d)None of the above Answer a Q3. What is the output of following code? class cc: def f1(self,a,b): self.a=a self.b=b return self.a+self.b o=new cc() print(o.f1(4,4)) a)8 b)Error c)4 d)None...
Read More