In 6.00 problem set 0, I can't view the final output. This is my code: lname = raw_input('Enter your last name: ') fname = raw_input('Enter your first name: ') print fname print lname. I'm looking for something like getch() in C++. Also, is there a newline character that I can use to print my first and last name on 2 separate lines? (Like '\n' in java/c++/)
Oh, there's no '.' in the code. I added that by mistake while typing out the question!
Is this about the MIT course?
Yes
There is a study group just for that course http://openstudy.com/groups/mit+6.0+intro+computer+science+%28ocw%29 :) there is a better place for this
Thank you!
@aq147852 , type your code in a new window again , it will run. it did work for me. here: lname = raw_input('enter your last name: ') fname = raw_input('enter your first name: ') print fname print lname it worked fine.. if there is any more problem do post it.
Join our real-time social learning platform and learn together with your friends!