Home / Programming MCQs / Python MCQs / Question
R
Q. How many times will the loop run?
i=2 while(i>0): i=i-1
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
What will be the output of the following code snippet?
Amongst which of the following is / are true about the while loop?
How many times will the loop run?
What is the output of the following program : i = 0 while i < 3: print i i += 1 else: print 0
Study the following function: import math abs(math.sqrt(36)) What will be the output of this code?
Which of the following codes uses inheritance?
Which of the following is the use of id() function in python?
Suppose we have two sets (s1 and s2) then what is the output of S1 + S2
Discusssion
Login to discuss.