lastname, firstname middlenameswhere there is at most one name per line. There is not always a middle name.
The user is prompted for the name of the input file and a name of the output file.
After running the script, the output file contains names in the format
firstname middlenames lastnameand the output file has as many lines as the input file.
Answer: quiz8a.py