Student becomes the teacher--Part of the Whole


#1

In the abbreviated code below, what “links” each function parameter–(numbers), (students), (score)–to the corresponding information above the functions? Thanks.
alice = {
“name”: “Alice”,
“homework”: [100.0, 92.0, 98.0, 100.0],
}
tyler = {
“name”: “Tyler”,
“homework”: [0.0, 87.0, 75.0, 22.0]
}
def average(numbers):
def get_class_average(student):
def get_letter_grade(score):


#2

nothing if there aren’t any function calls, the parameters get there value from arguments at function call


#3

Thank you for the clarification.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.