Skip to content
pls help me
Profile icon

my friend challenged me to do this: This program is called Monogram. Usually, for the monogram, the program asks the user for their first, middle, and last name. For this project, you will allow the user to enter as many names as possible. Then you will grab the first letter of each name to print out all the initials. You will need to use at least the following items in your program: variables, loops, string methods, if statements.
please explain this to me. i really dont know how to do this.

You are viewing a single comment. View All
Profile icon

Why don't you make an array that stores the first, middle and last name then use a for loop to print out the first letter of each of the names.

input1 = input("WHat is your first name?") input2 = input("WHat is your middle name?") input3 = input("WHat is your last name?") thisarray = [] thisarray.append(input1[0])

A starter code