Question: Read a csv ( Command - Separated Values ) file containing arithmetic expressions and their corresponding answers, generate questions and answer them, calculate and report
Read a csv CommandSeparated Values file containing arithmetic expressions and their corresponding
answers, generate questions and answer them, calculate and report the correct rate. Based on the correct
percentage, print the corresponding letter grade.
For example, consider the following CSV file. Each row contains items separated by commas, where
the first item represents an arithmetic expression, and the second item is the corresponding answer for
that expression.
A sample run of the code is as follows.
what is
true
what is
true
what is
true
what is
true
what is
true
what is
true
what is
true
what is
true
what is
true
percentage correct:
letter grade: A
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
