Question: Create a program that stores the names of the user's friends. Prompt the user to input the number of friends they would like to input

Create a program that stores the names of the user's friends. Prompt the user to input the number of friends they would like to input and store that value in a variable. Next, use a loop to ask for each name and store it in a list, repeating until the appropriate number of names have been added. Note that the user should not have to indicate when they are finished--the loop should stop automatically based on the number of names the user specified at the start of the program.
Then, output the user's best friend (the first name in the list) and the user's least-best friend (the last name in the list). After that, create a loop that outputs the entire list.
Finally, output an "acronym" of the names in the list--the first letter in each person's name combined into one word (which is almost certainly just a jumble of letters!)
All code should follow PEP 8 conventions as you understand them, and all variables should have descriptive names/identifiers (e.g., "manufacturer" would be a more descriptive name than "m"). The name of the program should also follow PEP 8 guidelines, and should be descriptive of what the program does rather than what assignment it is. In other words, don't name it module_01_lab or similar.
Python

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!