Trace The Nested "For" Loops

for i in range(2, 5):
for j in range(4, 9):
print(i, j)

Trace the code above in the Python Visualizer. How many times is print(i,j)print(i, j) executed?

1) 2424
2) 33
3) 1515
4)55

×

Problem Loading...

Note Loading...

Set Loading...