Question: 1. To begin this exercise, in the next empty code box define three variables: one containing a first name one containing a middle name one

1. To begin this exercise, in the next empty code box define three variables:

one containing a first name

one containing a middle name

one containing a last name

# Your code here

In the next code cell, combine the variables you defined into a single variable containing the entire name, with spaces in between each part of the name, then print that variable.

# Concatenate and print

In the next code cell, use string indexing and concatenation on the entire name variable to store the initials in a new variable. Then print that variable. For instance, if the entire name is "Michael Dennis Stocks", the intials must be "M.D.S" .

# Your solutions here

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!