Reference no: EM132355562
Question
Write program that allows teacher to read in student names. The program must be written in accordance with the following specs:
1. You must use functions and pass the list in and out of the function.
2. The input must be interactive from the keyboard. You will take input for 12 students.
3. You will input the students' name and insert/append each name in a list named students.
4. Sort the list in alphabetical order.
5. Sort the list again in reverse order.
6. Append the instructor's name on to the list.
7. Insert your own name at the beginning of the list.
8. Write the list to a file.
9. Display the contents of the file named names.txt.
10. Convert the list to a Tuple.
(DO NOT USE exit)