Question: 2.Write a python program to take 5 names as input from the user and store it in a list And remove if there are any

 2.Write a python program to take 5 names as input from

2.Write a python program to take 5 names as input from the user and store it in a list And remove if there are any spaces in the name, make the first part of the name uppercase, rest of the name lowercase, remove the last two letters, sort the list in ascending order and give the indexing to the name while printing. - Example Input = Mahadev naiDU Parimi Abhishek kumar Output =1. ABHISHEKkum 2. MAHADEVnaidupari

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!