#### (Solved): Below, You MUST Complete Both Functions As Described In The "doc Comment" Below Each Function Declar ...

Below, you MUST complete both functions as described in the "doc comment" below
each function declaration in python3

You also MUST add yourself as a student to the gradebook dictionary.

# Here is the data structure you will be working with.
# It is a dictionary of students.
# Each student contains a dictionary of grades.
"Alberta" : {
"Exam 1": 77, "Exam 2": 83, "Exam 3": 73, "Final": 85
},
"Bernard" : {
"Exam 1": 84, "Exam 2": 91, "Exam 3": 98, "Final": 95
},
"Cindi" : {
"Exam 1": 100, "Exam 2": 95, "Exam 3": 98, "Final": 95
},
"Doak" : {
"Exam 1": 68, "Exam 2": 65, "Exam 3": 77, "Final": 75
},
"Eunice" : {
"Exam 1": 82, "Exam 2": 85, "Exam 3": 81, "Final": 80
},
"Frank" : {
"Exam 1": 93, "Exam 2": 95, "Exam 3": 91, "Final": 95
},
"Harriet" : {
"Exam 1": 100, "Exam 2": 99, "Exam 3": 100, "Final": 100
},
}

'''
Print out a report of grades for a specified student. Assume that you should
use the "gradebook" dictionary defined above as a "global" variable. Not
generally a good idea, but we'll run with it.

2) Retrieve the dictionary of grades for the specified student. Since this
is the value in the gradebook dictionary for a given student, you can
the "name" parameter passed in to this function).
3) Iterate through the dictionary of grades. Print each "key" (exam name)
4) Print a footer row using print_footer()

CHALLENGE 1: Calculate and print a grade average for the student (as shown
in the example). Use print_float_line() for this.

CHALLENGE 2: Print out the ACTUAL current date in the footer. (Bing your

So for example, calling grades_for_student("Frank") should output as
follows (the average line would be missing if you don't take the challenge):

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Exam 1 93
Exam 2 95
Exam 3 91
Final 95
------------------------------------------------------------
AVERAGE: 93.50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
02/19/20 Student Grade Report Page 1 of 1

'''
##### Your code goes below here #####

'''
Print out a report of grades for a specified exam. Again, use the gradebook
dictionary defined above as a "global" variable.

2) Iterate over each of the students in the gradebook.
3) For each student, print the grade for the exam specified in the exam
parameter passed in to the function. This is a little trickier than the
other one. In essence, though, you can do something akin to:

Use your print_integer_line() to print the name and grade for each student.
4) Print a footer row using print_footer()

CHALLENGE 1: Calculate and print a grade average for the exam (as shown
in the example). Use print_float_line() for this.

CHALLENGE 2: Print out the ACTUAL current date in the footer. (Bing your

So for example, calling grades_for_exam("Exam 2") should output as
follows (the average line would be missing if you don't take the challenge):

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Alberta 83
Bernard 91
Cindi 95
Doak 65
Eunice 85
Frank 95
Harriet 99
------------------------------------------------------------
AVERAGE: 87.57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
02/19/20 Exam Grade Report Page 1 of 1

'''
##### Your code goes below here #####

### HERE IS THE "MAIN" PART OF THE SCRIPT...
### IT SIMPLY CALLS THE FUNCTIONS YOU COMPLETED ABOVE.

print()
print()
print()
print()

'''
MY OUTPUT FOR THE ABOVE FOUR FUNCTION CALLS LOOKS AS FOLLOWS...YOURS SHOULD
BE VERY SIMILAR (THOUGH YOUR NAME SHOULD ALSO BE IN THE LIST OF GRADES FOR
EACH EXAM):

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Exam 1 93
Exam 2 95
Exam 3 91
Final 95
------------------------------------------------------------
AVERAGE: 93.50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
02/19/20 Student Grade Report Page 1 of 1

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Alberta 83
Bernard 91
Cindi 95
Doak 65
Eunice 85
Frank 95
Harriet 99
------------------------------------------------------------
AVERAGE: 87.57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
02/19/20 Exam Grade Report Page 1 of 1

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Exam 1 100
Exam 2 95
Exam 3 98
Final 95
------------------------------------------------------------
AVERAGE: 97.00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
02/19/20 Student Grade Report Page 1 of 1

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Alberta 85
Bernard 95
Cindi 95
Doak 75
Eunice 80
Frank 95
Harriet 100
------------------------------------------------------------
AVERAGE: 89.29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
02/19/20 Exam Grade Report Page 1 of 1

'''