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) \)executed?

1) \(24\)
2) \(3\)
3) \(15\)
4)\(5\)

×

Problem Loading...

Note Loading...

Set Loading...