Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administration The Complete Guide To Dba Practices And Procedures

Authors: Craig S. Mullins

2nd Edition

0321822943, 978-0321822949

More Books

Students also viewed these Databases questions

Question

Who should be involved?

Answered: 1 week ago