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

Need help on Problem Set 0. This is probably a really easy problem but I don't understand how to do it. So far I have this and I don't know how to continue it. Am I on the right path or am I completely wrong? >>> print raw_input('Enter your date of birth:') Enter your date of birth:08/08/13 08/08/13 >>> print raw_input('Enter your last name:') Enter your last name:Smith Smith

OpenStudy (harsimran_hs4):

as far as i get it you are implementing the instructions in the interpreter where as you should probably save the code in another file with extension .py and then run it in the interpreter for the above tasks 1. open the interpreter(IDLE) 2. press ctrl +n (i.e open a new file) 3. Write your code 4. save it with .py extension (eg. ps0.py) for the third part you will need to store the D.O.B some where so that you can use it latter e.g dob = raw_input("enter your date of birth : ") so sometime later when you need to print the data you can write print dob

OpenStudy (anonymous):

'in' the edit window , F5 will run your code and the results will show up in the shell window (the window with the >>> prompts).

OpenStudy (anonymous):

Thanks!

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!