General question


#1

i have a general question. i just finished the project but was curious to where in the code did we define the "class" list so that when we call upon 'student' or 'students' it knows to cycle through Lloyd, Alice, and Tyler? For example in the get_average(student) function it got the average of each students work without me having to set a list called 'students' or something with each name in it. only, in the last step of the project is when we finally create a class list, when we need to print the averages.i hope my question makes sense. thank you!

`


#2

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