I have been stumped of how to do this programming lab assignment for the last co

Sep 1, 2021 | Uncategorized

I have been stumped of how to do this programming lab assignment for the last couple days. The requirements of it are as follows:Write a Python program that reads five students2019; four exam grades from a .txt file called exams.txt. Each line in the exams.txt corresponds with one student, and each student2019;s info is separated by a comma. Note that the student2019;s first names are listed before their last name.Calculate the average exam grade for each student, the max exam avera,e and the min exam average. Then, write the students2019; averages along with the class maximum and minimum averages to a text file called grades.txt. The information should print as followed:-The list should be in alphabetical order.-Each line should contain the student2019;s average enclosed in parentheses, followed by a space, the student2019;s last name, a comma, a space, and the student2019;s first name.-The exam average should include only 2 decimals-Skip a line after the last of the student entries. Then, list the max score and min score on separate lines.)OUTPUT EXAMPLE:(97.50) Branch, Ann(88.72) Davis, John(92.32) Dickerson, Jeff(81.22) Martin, Chuck(87.88) Smith, SandraHighest Grade: 97.50Lowest Grade: 81.22
exams.txt

Unformatted Attachment Preview

Don't use plagiarized sources. Get Your Custom Essay on
I have been stumped of how to do this programming lab assignment for the last co
Just from $12/Page
Order Essay

Amy, Branch, 90, 80, 90, 100
Jose, Armando, 95, 92, 89, 92
Lee, Haines, 85, 85, 91, 91
Lisa, Jaines, 94, 93, 92, 95
Sam, Edison, 72, 75, 78, 75
2026;
Purchase answer to see full
attachment

  

Why dont you let a reliable essay writing service handle your assignments ?