Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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

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

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions

Question

What is a baseline? Why is it important to fix baselines?

Answered: 1 week ago