A
Q. What is the output of the following code :
Code:print 9//2
Here, you will find a collection of MCQ questions on Python. Go through these questions to enhance your preparation for upcoming examinations and interviews.
To check the correct answer, simply click the View Answer button provided for each question.
Have your own questions to contribute? Click the button below to share your MCQs with others!
+ Add QuestionA
print 9//2
A
A
i = 0 while i < 3: print i print i+1
A
A
A
A
def myfunc(a): a = a + 2 a = a * 2 return a print myfunc(2)
A
A
i = 0 while i < 5: print(i) i += 1 if i == 3: break else: print(0)
A
def f(value, values): v = 1 values[0] = 44 t = 3 v = [1, 2, 3] f(t, v) print(t, v[0])
If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.
Share Your MCQ