Lesson 12. Capstone project: name mashup
After reading lesson 12, you’ll be able to
- Write code to solve a programming task
- Read requirements for a program
- Get input from the user for two first and last names, mash them up (combine them in some way), and show the user the result
- Systematically build up code to write program solutions
The problem
This is your first interactive programming task, so let’s have some fun with the user! You want to write a program that automatically combines two names given by the user. That’s an open-ended problem statement, so let’s add a few more details and restrictions:
- Tell the user to give you two names in the format FIRST LAST.
- Show the user two possible new names in the format FIRST ...
Get Get Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.