Question: Challenge 2 - Create me a monogram Traditional monograms are represented by three initials (first name, last name and middle initial). The challenge here is
Challenge 2 - Create me a monogram
Traditional monograms are represented by three initials (first name, last name and middle initial). The challenge here is to build a monogram from a name that is supplied. The monogram should use lowercase letters for the first initial and middle initial, while the last name initial is in caps.
For example,
Dwight K. Shrute => d.K.s
Eye See Deadpeople => e.S.d
Mers Sadees Benz => m.B.s
The code should start like this
def monogram(full_name):
'''
Creates a traditional monogram from a supplied full name
Parameters
----------
full_name : str
The full name (first middle last) of the person for which to build the monogram
'''
# Replace pass with your code
Pass
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
