Home / Programming MCQs / Python MCQs / Question
R
Q. What will be the output of given Python code?
n=7 c=0 while(n): if(n>5): c=c+n-1 n=n-1 else: break print(n) print(c)
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Which of the following is incorrect variable name in Python?
To write else statement in if-elif ladder is mandatory? (T/F)
What will be the output of the following Python code?
What will be the output of the following Python code?
What will be the output of following python code?
Which keyword is use for function?
Discusssion
Login to discuss.