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

Need help on ps0. I have written the code, but how do I test it? I can't seem to find a way of running it.

OpenStudy (anonymous):

windows? open it with idle and run it from there

OpenStudy (robcom):

Yes.. I am using the windows version. I now see the run option. But when I click run module I get (There's an error in your program: invalid syntax). That means the code is not correctly set, right? Just want to be sure. Thanks again.

OpenStudy (anonymous):

usually it hi-lites the area of the syntax error

OpenStudy (anonymous):

Did you complete ps0 yet ?

OpenStudy (anonymous):

If you're using Python 3.x, raw_input() is now input(). That could be causing the error.

OpenStudy (anonymous):

Open Idle, and if there is a syntax error that means your code is typed wrong somewhere. It's a human error, not a machine error. Look where it is highlighted and then look for what you typed wrong.

OpenStudy (robcom):

Got it working, thanks guys... it is python 3 and I was using the raw_input() instead of input().

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!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
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!