Question: Python programming only I need help designing a program to record, search and create the students of a course in a file. This program first

Python programming only

I need help designing a program to record, search and create the students of a course in a file.

This program first shows a menu including the following options to the user, and responds according to the user selection.

Press 1 to make a new course score file.

Press 2 to search into an existing course score.

Press 3 to add more record to an existing course score file.

Press 4 to quit the program.

Organize the program into four functions as follows:

A main function including the program logic.

A function to make a new score file.

A function to search a score file based on a student name; this function prints all the search results on the screen.

A function to add the information of one student to a course score file.

Apply try/except block to handle possible exceptions.

For simplicity, assume a student record contains student name and score. Each line of score file includes information of one student. Repetitive names in score file is ok.

Please attach a picture of the source code and the program run thanks.

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!