Home / Programming MCQs / Python MCQs / Question
R
Q. What will be the values of var1 and var2 after the execution of program?
var=3 var1=0 var2=var1+1 while(var<7): var2=var2+var1 if(var1%2==0): var=var+1 var1=var1+1 else: var2=var2*var1 var1=var1+3
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 Python code?
What is the output of the following program
What is the output of the following code?
The expression 2**2**3 is evaluates as: (2**2)**3.
Which one is false regarding local variables?
What type of data is: arr = [(1,1),(2,2),(3,3)]?
Which of the following is used to print the doc string of a function?
Discusssion
Login to discuss.