(self)
| 201 | return self._subjects[name] |
| 202 | |
| 203 | def average_grade(self): |
| 204 | total, count = 0, 0 |
| 205 | for subject in self._subjects.values(): |
| 206 | total += subject.average_grade() |
| 207 | count += 1 |
| 208 | return total / count |
| 209 | |
| 210 | |
| 211 | print("Example 12") |
nothing calls this directly
no test coverage detected