Very first problem set. How do I get the program to print out the birthdate and last name together? Right now I have:
print (raw_input('enter your date of birth'))
print (raw_input('enter your last name'))
MIT 6.00 Intro Computer Science (OCW)
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
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.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
Have you read any of the readings?
the wikilinks? I read over those, but am brand new to any and all of this, so I've been struggling to get started.
Not the answer you are looking for? Search for more explanations.
the 2011 course
Have you read the Tutorial in the python docs? Tried all of the examples?
here are a couple more but maybe start with the Tutorial in the documentation
you are going to need to get used to the documentation and start finding answers.
when you want to reuse the result of a statement, you 'store' it in a variable
>>> a = 2 + 3
>>> b = 2 - 3
>>> print a, b
a and b are variables
okay thank you. i'll keep working on it
I did not need to put the print command on the first two strings in order to get it to function
it helps if your variable have descriptive names
for short pieces of code or code examples, you can enclose it in 'bacticks' (left of 1 on a qwerty keyboard.)
>>> dob = (raw_input('enter your date of birth'))
enter your date of birth5/5/5555
>>> last = raw_input('enter your last name')
enter your last namefinn
>>> first = raw_input('enter your first name')
enter your first namealva
>>> print first, last, dob
alva finn 5/5/5555
Otherwise please use a code pasting site:
paste your code there and post the link here. select Python syntax highlighting when u paste. ... http://dpaste.com/1406703/