Question 11
Consider the following Python code:for i in range(1, 5): for j in range(1, 5): if j == 3: break if i == 2: continue print(i, j) How many lines will be printed when this code is executed?
Consider the following Python code:for i in range(1, 5): for j in range(1, 5): if j == 3: break if i == 2: continue print(i, j) How many lines will be printed when this code is executed?
A written answer, not marked automatically.
Question 11 of 18 in the IIT Madras BS Programming in Python (Python) Quiz 1 paper sat on 26 Oct 2025, in the September 2025 term (IIT M IMPROVEMENT AN EXAM QIA4 26 Oct). It carries 3 marks.