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

how do I configure the python IDLE to step through the code and pause after each instruction, and print the results to the shell? I want to see the results of each test printed to the screen as the code is stepting through each instruction. I hope that makes sense. I am using the itersLeft code from Lecture 2 47:12. See next post for itersleft.py file.

OpenStudy (anonymous):

See attached example of code with comments and at the end of the code the manual test results. Thanks, Zena

OpenStudy (anonymous):

Just add a print statement inside your loop. print x, y, itersleft

OpenStudy (anonymous):

Thank you. ;-)

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!