Ok everyone I just started here but finished first lecture and I was wandering is the the kind of code they are asking for for problem set zero.... a = raw_input ('Write your last name') b = raw_input ('Write your first name') print b+a The code works fine but is this what they wanted?

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get our expert's

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions.

A community for students.

Ok everyone I just started here but finished first lecture and I was wandering is the the kind of code they are asking for for problem set zero.... a = raw_input ('Write your last name') b = raw_input ('Write your first name') print b+a The code works fine but is this what they wanted?

MIT 6.00 Intro Computer Science (OCW)
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions

Considering I only took five minutes on it I am sure I rushed and it is not what is actually being asked.
Considering I only took five minutes on it I am sure I rushed and it is not what is actually being asked.
Yep, that's pretty much what they wanted. You could go a little further if you wanted by having it print a space between first and last names. print b+' '+a

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

Yep I figured that out. I spent more time thinking about how to add the space then figuring out how to write up the main code.
You can just comma the print statement and get a free space print b, a But, with a space, your code is fine. It gets tougher by the way :)
I figured it did. I am watching the second lecture and will do problem set 1 tomorrow.
Mikeray, don't make the mistake I did - I started Problem Set 1 after watching Lesson 2. Problem Set 1 is due at Lesson 4, so you should watch Lesson 2 and 3 before starting it. I did Problem Set 1 after Lesson 2 and although I had the right concepts in mind (got it correct), Lesson 3 could've saved me quite a bit of time.
Follow the calendar: http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/calendar/
Nevermind, my last two posts, I got my stuff mixed up. Problem Set 1 is due at Lesson 3...
Yeah I noticed that and thanks I will follow the calender. I just hope I am able to keep up with everything being 31 with three brats and a nagging yet wanderfull wife makes finding time fun.

Not the answer you are looking for?

Search for more explanations.

Ask your own question