Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/exercism/python
/ add_student
Method
add_student
exercises/practice/grade-school/grade_school.py:5–6 ·
view source on GitHub ↗
(self, name, grade)
Source
from the content-addressed store, hash-verified
3
pass
4
5
def
add_student(self, name, grade):
6
pass
7
8
def
roster(self):
9
pass
Callers
15
test_add_a_student
Method · 0.95
test_student_is_added_to_the_roster
Method · 0.95
test_adding_multiple_students_in_the_same_grade_in_the_roster
Method · 0.95
test_multiple_students_in_the_same_grade_are_added_to_the_roster
Method · 0.95
test_cannot_add_student_to_same_grade_in_the_roster_more_than_once
Method · 0.95
test_student_not_added_to_same_grade_in_the_roster_more_than_once
Method · 0.95
test_adding_students_in_multiple_grades
Method · 0.95
test_students_in_multiple_grades_are_added_to_the_roster
Method · 0.95
test_cannot_add_same_student_to_multiple_grades_in_the_roster
Method · 0.95
test_student_not_added_to_multiple_grades_in_the_roster
Method · 0.95
test_students_are_sorted_by_grades_in_the_roster
Method · 0.95
test_students_are_sorted_by_name_in_the_roster
Method · 0.95
Calls
no outgoing calls
Tested by
15
test_add_a_student
Method · 0.76
test_student_is_added_to_the_roster
Method · 0.76
test_adding_multiple_students_in_the_same_grade_in_the_roster
Method · 0.76
test_multiple_students_in_the_same_grade_are_added_to_the_roster
Method · 0.76
test_cannot_add_student_to_same_grade_in_the_roster_more_than_once
Method · 0.76
test_student_not_added_to_same_grade_in_the_roster_more_than_once
Method · 0.76
test_adding_students_in_multiple_grades
Method · 0.76
test_students_in_multiple_grades_are_added_to_the_roster
Method · 0.76
test_cannot_add_same_student_to_multiple_grades_in_the_roster
Method · 0.76
test_student_not_added_to_multiple_grades_in_the_roster
Method · 0.76
test_students_are_sorted_by_grades_in_the_roster
Method · 0.76
test_students_are_sorted_by_name_in_the_roster
Method · 0.76