For the following program: 1. Create an algorithm called gradesAlgorithm.txt 2. Code the program as grades.py 3. Upload your algorithm (grades Algorithm.tx) 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, 80 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 Mouse Jane Doe Minnie Mouse Donald Duck Daffy Duck 90.0 50.0 95.0 80.0 70.0 Average Grade: 77.0
For the following
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 4 images