Quizzma Latest Questions

Complete the print statement. Your full name is:

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




Leave an answer

Leave an answer

What is the capital of Egypt? ( Cairo )

1 Answer

  1. 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!

Related Questions