Question: Use python lang , there is no txt file just assuming write a program that reads from a text file students. txt student information of
Use python lang , there is no txt file just assuming
write a program that reads from a text file students. txt" student information of a given class and stores them into a list of dictionaries. Each line of the file contains a student id (integer), a student name, a student gpa (float), and the number of completed credits (integer). The program should then display the menu shown below allowing the user to select repeatedly an option until he or she chooses to quit P: Print the student information (name, id, gpa and credits) of all students sorted in alphabetic order of their ames F Find and display student information for a given student id (the user enters the studen id) L List all the information (id, gpa and credits) of all students under probation (ie. gpa
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
