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): … Read more