PYTHON
Write a program that asks the user to enter a student's name and8 numeric assignment scores (out of 100 for each assignment). Theprogram should output the student's name, a letter grade for eachassignment score, and a cumulative average for all the assignments.Please note, there are 12 students in the class so your programwill need to be able to either accept data for 12 students or loop12 times in order to process all the students in the class.
Write the following functions in the program:
calc_average - this function should accept 8 assignment scoresas arguments and return the average of the scores
determine_grade - this function should accept an assignmentscore as an argument and return a letter grade for the score basedon the following grading scale:
90-100       A
80-89         B
70-79         C
60-69         D
Below 60    F
Data for the program:
Lucy Miller 45 69 70 66 87 82 75 73
Frank Jones        9093 87 84 91 93 90 88
Nancy Franklin    99 97 92 90 88 89 8790
Judy Forsyth       72 86 5969 72 78 80 82
TonySpirit          87 83 86 90 79 76 80 88
RuthAmes          6669 72 61 69 73 71 70
John Smith        10098 89 93 82 86 91 93
Andrew Barnes   78 77 75 83 80 87 80 78
Becky Stone       98 94 9089 84 83 79 93
Marvin Decker    59 54 61 45 39 66 7072
Steve Parker      71 78 73 62 6672 64 70
Frank Harper      89 86 90 92 9185 88 93