Home / Programming MCQs / Python MCQs / Question
R
Q. What will be the result of following Python code snippet after execution?
str1="" i=0 var2=1 while(i<3): var1=1 if str1: var2=var1*var2+5 else: var2=var1*var2+1 i=i+1 print(var2)
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
What is the maximum length of an identifier in python?
Which function overloads the + operator?
Write the output of the following:
Amongst which of the following is / are the application areas of Python programming?
What is the output for 'python' [-3]?
What is the output of the following code?
Discusssion
Login to discuss.