Question: For this in python write 2 programs: Write a program to prompt the user to enter a fist name, last name, student ID and GPA
For this in python write 2 programs:
- Write a program to prompt the user to enter a fist name, last name, student ID and GPA for 8 students. Use a loop. Save the records in a text file.
- Write a second program that reads the records from the text file, then determines if the student qualifies for Deans list or probation. Display the records on screen with appropriate headings above the data being displayed.
If the GPA is >= 3.5, display 'Deans List'
If the GPA is < 2.0, display 'Probation
If the GPA is < 3.5 and >= 2.0, display 'Regular Standing'
The data is as follows:
Eric James 000123456 3.2
Leslie Jones 000122455 3.9
George Wayne 000132654 1.9
Jennifer Fulton 000213789 2.0
Lily Smith 000432456 3.5
Luke Johnston 000231543 2.5
Judy Stack 000241432 2.3
Steve Ray 000321456 3.8
Submit your input screenshot, python source code and your 2 text files.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
