First, click "Solve the Problem:" to see detailed instructions and useful information.
Second, try to code a solution to the problem using the embedded Python coding environment.
Third, if you are finding it difficult, you can click "Get Some Hints:" to see some tips to help you solve the problem. There is also music to help you focus midway down the page.
Finally, at the bottom of the page, there is an embedded Form where you can paste and upload your completed solution.
Once you have uploaded your code there will be a link to the solution at the end of the Form, so just like in the exam even if you can't entirely finish the solution, upload as much as you have been able to and you can then see the correct answer afterwards to see where (if anywhere) you went wrong.
You're going to start with some code you can reuse from the last challenge: first_name = input("What is your first name? ")
Now we're going to use a print statement again, on a new line. The prewritten bit is easy - you might say: print("Hello! It really is a pleasure to meet you...")
But how can we use the user's name that they entered, and we saved to the variable first_name? We need to use concatenation - two things in the print brackets, the prewritten string above and the contents of our variable.
How about we try this? print("Hello! It really is a pleasure to meet you" , first_name). Both the variable and the string go into the brackets, and Python joins (concatenates) them together.
We can also use the + operator to concatenate strings and variables together. Unlike using a comma (,) to separate things, it doesn't leave a space by default. So we can do things like this: print("Hello "+first_name+". I think that "+first_name+" is a really cool name - I'm pretty jealous!")