Question 23
Consider the following snippet of code and answer the sub-questions:
In the given code, if we change the condition to instead of , what will be the value of ?
—
—
—
—
Consider the following snippet of code and answer the sub-questions:
In the given code, if we change the condition to instead of , what will be the value of ?
—
—
—
—
Correct answer
—
Question 23 of 32 in the IIT Madras BS Programming in Python (Python) Quiz 1 paper sat on 15 Mar 2026, in the January 2026 term (Programming in Python 15 Mar 26). It carries 3 marks.