Question 2
Consider the following code snippet:
For what values as input the output generated by the above code snippet does not print A.
x = 10 and y = 25
x = 6 and y = 20
x = 12 and y = 15
x = 15 and y = 16
Consider the following code snippet:
For what values as input the output generated by the above code snippet does not print A.
x = 10 and y = 25
x = 6 and y = 20
x = 12 and y = 15
x = 15 and y = 16
Correct answer
x = 12 and y = 15
Question 2 of 68 in the IIT Madras BS Programming in Python (Python) End Term paper sat on 10 May 2026, in the January 2026 term (Programming In Python 06 May 26). It carries 4 marks.