Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 17 Online
OpenStudy (anonymous):

An interesting question about the 'for' loop from the textbook. Just for beginners. What is the printout? x = 4 for i in range(x): for j in range(x): print 'ij', i, j, x = 2

OpenStudy (rsmith6559):

ij 0 0 ij 0 1 ij 0 2 ij 0 3 ij 1 0 ij 1 1 ij 2 0 ij 2 1 ij 3 0 ij 3 1

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!