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

Hi, when working on problem set 0, i ran into two problems: 1) I understand how to use the print, and raw input commands, but I don't know how to write the code that makes the computer regurgitate the user's input. 2) How do you run code in python? If anyone could help, I would greatly appreciate it. Thanks!

OpenStudy (anonymous):

you need to create a variable when you write the line, so instead of doing: print "hello" you would do name = raw_input("hello, what is your name") then you can do print name

OpenStudy (anonymous):

Thank you for your reply!

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!