Question: PYTHON PROGRAMMING ONLY Code a program to record, search, and create the students of a course in a file. This program first shows a menu
PYTHON PROGRAMMING ONLY
Code 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 establish a new course score file.
Press 2 to search into an existing course score file.
Press 3 to add more record to an existing course score file.
Press 4 to quit the program.
The program should be organized into four functions as follows:
1. A main function including your program logic.
2. A function to establish a new score file.
3. A function to search a score file based on a student name; this function prints all the search results on the screen
4. A function to add the information of one student to a course score file
Apply try/except block to handle the possible exceptions.
For simplicity, assume that a student record contains student name and score. Each line of score file includes information of one student. Repetitive names in score file is allowed.
Since I couldn't attach a text document. Please find attached a picture of the text file for the students scores to use. if you have notepad or a similar text application, a text document of the student scores image can be easily done. Please do share a picture of the source code and complete run as well. Thanks.

AARHAM KOTHARI 78 MELBA BERNICE 34 Daisy Jessica 67 KUSHI KUVERA GLYNN CARYS HANNAH STACEY PUTHOTA 89 J FREDYN VIBHAV 79 JOANNA ANGELA 92 JUDE LEMUEL KAVINESH 89 34 83 43.56 68.45 Kyra Jain KEVIN Johan 67 LITHWIN ARUL Lynton Diaz 75 72 54 96.67 Maanvi Manya M Aaglecha 69 N Prajan NORAH GABRIELLA XAVIER 34.56 Prithvi RAYSHOD 86 R S Anirudhran 75 R THANAV RAJU 93 REIYAA 82 SA C Hameed 67 KEVIN Johan 57 S Evana 56 MOHAMED RAYSHOD 73 Sanaya Shaw 96 SHAUN TONY NORBERT FERNANDO 79 SRI HARI 23 SWAROOP S NAIR 45 Vipin Johan NG 69 Kyra Jain Y Darshan Narayanan 77 73 YASHITA RAM AILDASANI 81.5 R SANDILYAN 59 B SUKRITI 67.90 AARHAM KOTHARI 78 MELBA BERNICE 34 Daisy Jessica 67 KUSHI KUVERA GLYNN CARYS HANNAH STACEY PUTHOTA 89 J FREDYN VIBHAV 79 JOANNA ANGELA 92 JUDE LEMUEL KAVINESH 89 34 83 43.56 68.45 Kyra Jain KEVIN Johan 67 LITHWIN ARUL Lynton Diaz 75 72 54 96.67 Maanvi Manya M Aaglecha 69 N Prajan NORAH GABRIELLA XAVIER 34.56 Prithvi RAYSHOD 86 R S Anirudhran 75 R THANAV RAJU 93 REIYAA 82 SA C Hameed 67 KEVIN Johan 57 S Evana 56 MOHAMED RAYSHOD 73 Sanaya Shaw 96 SHAUN TONY NORBERT FERNANDO 79 SRI HARI 23 SWAROOP S NAIR 45 Vipin Johan NG 69 Kyra Jain Y Darshan Narayanan 77 73 YASHITA RAM AILDASANI 81.5 R SANDILYAN 59 B SUKRITI 67.90
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
