from pykubegrader.tokens.validate_token import validate_token
validate_token('type the key provided by your instructor here')
# You must make sure to run all cells in sequence using shift + enter or you might encounter errors
from pykubegrader.initialize import initialize_assignment
responses = initialize_assignment("2_week_1_attendance", "week_2", "attend", assignment_points = 1.0, assignment_tag = 'week2-attend')
# Initialize Otter
import otter
grader = otter.Notebook("2_week_1_attendance.ipynb")
๐๏ธ๐ Week 2: Attendance โ #
To get credit for attendance make sure you run all blocks of code.
I_attended_lab = True
grader.check("week-1-lab-attendance")
๐ Well Done!#
Keep up the good work.
Submitting Assignment#
Please run the following block of code using shift + enter
to submit your assignment, you should see your score.
from pykubegrader.tokens.validate_token import validate_token
validate_token()
from pykubegrader.submit.submit_assignment import submit_assignment
submit_assignment("week2-attend", "2_week_1_attendance")