PLEASE HELP!!!!!
1Task
In this class, like many others, assignments are clustered bytype: exams, programming assignments, etc. Each assignment type hasa given weight, and each assignment within a given type might alsohave a weight. For example, exams might be 50% of the overall gradeand the final exam might be worth 1.5× as much as a midterm.
Write a file gradebook.py that has (one or more) globalgradebook dict, which stores a running total and cumulative weightfor each supplied grade type1; and two functions tointeract with that dict:
1.1assignment(kind, grade, weight)
The kind will be a string, and will indicate which group ofassignments this one belongs to.
PayPal Gateway not configured
PayPal Gateway not configured