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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started