Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions