Question
In Python, show Create an excel file consisting of ten students names in the following form: lastName , firstName , middleName in a single column
Create an excel file consisting of ten students names in the following form: lastName, firstName, middleName in a single column. (Note that a student may not have a middle name.)
Syafiqah, Siti, Nur |
Tan, Shin, |
Mimi, Lana, M |
Write a program that converts each name to the following form, called as altered name: firstName middleName lastName.
Siti, Nur, Syafiqah |
Shin, , Tan |
Mimi, M, Lana |
Your program must read each students entire name in a variable and must consist of a function that takes as input a string, consists of a students name, and returns the string consisting of the altered name.
You should be able to sort the list from the source excel file and store the result in another excel file. The resultant excel file should contain two sheets:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started