Answered step by step
Verified Expert Solution
Question
1 Approved Answer
6 PT6a 1. Create an algorithm called gradesAlgorithm.txt. 2. Code the program as grades.py 3. Upload your algorithm (gradesAlgorithm.txt) and your program (grades.py) to D2L.
6 PT6a 1. Create an algorithm called gradesAlgorithm.txt. 2. Code the program as grades.py 3. Upload your algorithm (gradesAlgorithm.txt) and your program (grades.py) to D2L. Grades The following test score information is stored in the file grades.txt Mouse,Mickey,90 Doe, Jane, 50 Mouse,Minnie,95 Duck, Donald, 860 Duck, Daffy,70 Write a program that reads in the names and test grades of 5 students from the data file grades.txt. Use the split function to separate the names and test scores and convert the test scores to numeric values After reading in the data from the file, calculate the average of the test scores. Display the names, test scores and the average on the screen as follows Name Grade Mickey Mouse90.0 Jane Doe innie Mouse 95.0 Donald Duck Daffy Duck 50.0 80.0 70.0 Average Grade: 77.0
Step 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