During both the lecture and the recitation, it looked like the lecturers were using two different windows. Can anyone explain that? And I've copied codes in exactly and I still get error signs. Or if it's formatted correctly, I'll press enter and it'll just move to the next line. Can anyone help?
I also have no idea how to start Problem Set #2, with the credit card balance. Any assistance would be fantastic.
If you are using idle/win, select New from the File menu to open an editing window. Search Google for how to use idle, there are a number of good hits. A good place to start is to just write down in words the steps you need to take to solve the problem - don't try to code it, just get the process straight in your head.
Another good place to start is to to read the Tutorial in the Python documentation and practice all the examples (really practice) - you'll get some ideas from it. Ditto for the How To Think Like a Computer Scientist reading/book.
and when you star idle just go to File --> New File and there you write the code, which you execute with F5.
Thanks so much! Super helpful :)
Join our real-time social learning platform and learn together with your friends!