Lisa S. answered 01/27/23
Bachelors in Computer Science with 5+ Years of Teaching Experience
The simplest way would be to hardcode the curves:
Note that because we start from 70 and use elif, we do not need to specify both the upper and the lower bound of the curve scores. We use the enumerate function to make it easy to modify the list in-place, replacing the old score with the curved score.