A problem by Fazla Rabbi

Level pending

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 p r i n t ( i , j ) print(i, j) executed?

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

1 2 4 3

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Sehaj Taneja
Mar 9, 2014

simple

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...