MCQs Python

MCQs Python Programming 60+

MCQs Python Programming 60+

1. What will be the output of the following python code? a=2 def fun(a=3): global a a+=5 fun() print(a) Ans: Error 2. consider the following statement and choose the correct option: a=[10, 4, 1, 50, 8, 2] b=sorted(a, reverse=’No’) print(b)…