Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python, make sure test cases work Assume the structure of a file to be: FirstName, LastName Test 1: Score Test 2: Score FirstName, LastName Test

Python, make sure test cases work image text in transcribed
image text in transcribed
Assume the structure of a file to be: FirstName, LastName Test 1: Score Test 2: Score FirstName, LastName Test 1: Score Test 2: Score There will be a line with the student's name in the format of FirstName, LastName, and the corresponding lines will be a test and score, formatted as Test X: Score. Each student can have a varying number of tests associated with them. The ".." above indicates the fact that there can be more tests to a student. Each student and their scores will be separated by an empty line. For the purpose of the test cases, use the following file example as the file passed into the functions. The actual file given will be different. Example File named example.txt: Erica, Chia Test 1: 100 Test 2: 100 Caitlin, Yang Test 1: 60 Test 2: 30

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

More Books

Students also viewed these Databases questions

Question

Was there an effort to involve the appropriate people?

Answered: 1 week ago