Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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. gpaStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started