I'm working on assignment 0 and have completed the first 2 parts. I am having trouble with the last part. Please advise how to combine the first and last name.
Have you done all the reading for this section? There is an example that should make it really clear. If you just want me to tell you how to do it, I will, but make sure you get out of the reading what you want.
Another thing to consider is to think about what you want the program to do. Write it in words. Then step by step make those things happen. Once you get the most basic thing done, make incremental changes. use print statements to help you see where your problems might be occurring.
Although it would be a good thing to figure out, i don't think combining the two strings is technically necessary for this problem, if you look at the sample in the pdf the first and last names are on separate lines...
Here are a couple of simple programs using print statements. Study them and see if you can apply it to the problem set. Program 1: a=5 b=7 print a,b Output of Program 1: 5, 7 Program 2: b='alpha' c='beta' print b,c Output of Program 2: alpha, beta
Thanks, yeah I read the PDF and also read both Python Wikibooks pages that are referenced as well as watching the first and second lectures. I'm wondering if the "handout" referred to in the first lesson PDF is something that is not part of the course download? It seems that I'm missing doing the exercises that the first lesson PDF talks about.
Join our real-time social learning platform and learn together with your friends!