Question: Create a program that will use def functions to print the array, insert a new student name to the array, and remove a student from

Create a program that will use def functions to print the array, insert a new student name to the array, and remove a student from the array. The def main() will use a for loop to prompt the user to enter the student names listed below. (DO NOT CREATE AN ARRAY BY ASSIGNING THESE NAMES TO THE ARRAY!). I do not want to see this code in your program;
studentArray ={Mike,Sally,Bill,Julie,Cathy,Jack,Will,Debby,Dale,Nancy}
After all names have been entered, print the array. Then call the functions remove and insert to modify the array. Then call the print function.
The remove function will remove the student from index position 8. The insert function will add the student name Randy to index position 3

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 Programming Questions!