MCPcopy Index your code
hub / github.com/bslatkin/effectivepython / add_student

Method add_student

example_code/item_029.py:55–56  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

53 self._grades = {}
54
55 def add_student(self, name):
56 self._grades[name] = []
57
58 def report_grade(self, name, score):
59 self._grades[name].append(score)

Callers 1

item_029.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected