Basic-Python-Programs
Basic-Python-Programs copied to clipboard
Made changes to Options, RollNo. check, CGPA Check
I made the following changes,
- Now, when the code is run, the main function will be executed, which will first give the user options to select from.
- Added a check to see if the input for the roll number is an integer; if not, an error message will be printed.
- Added a check to see if the input for CGPA is a decimal number; if not, an error message will be printed.
- In the option "Remove student by RollNo", if the student is not found, an error message will be shown stating the same.
- In the option "View student by Name", if the student is not found, an error message will be shown stating the same.
- Added a new option, "Option 5", to view the list of all students.