This program takes the input of your first, middle, and last name and produces a large string of text, which contains the variables first_name, middle_name, and last_name. Complete the print statement.
Your full name is:
1. full_name
2. first_name + middle_name + last_name
3. first_name + ” ” + middle_name + ” ” + last_name
4. “Your full name is:” + full_name
The correct answer is:
3. first_name + ” ” + middle_name + ” ” + last_name
Explanation: This statement concatenates (joins together) the variables `first_name`, `middle_name`, and `last_name`, with a space in between each name for readability. The result gives you a full name as a single string. If you wanted to print it out, you could use:
print("Your full name is:", first_name + " " + middle_name + " " + last_name)
This will display the full name in a clear format. If you need further assistance, feel free to check the extended services page!