Question: F.1) Rewrite the grade program from the previous chapter using a function called computegrade that takes a score as its parameter and returns a grade
F.1) Rewrite the grade program from the previous chapter using a function called computegrade that takes a score as its parameter and returns a grade as a string. Sample output follows below.
Sample output:
Enter score: 0.95 A
Enter score: perfect Bad score
Enter score: 10.0 Bad score
Enter score: 0.75 C
Enter score: 0.5 F
F.2) Write a function which reads in a csv as a list of lists, properly converting int data to ints and floating point data to floating points as needed. Afterward, have the function print the list of lists out using pretty print, to show off the results.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
