Skip to content

Instantly share code, notes, and snippets.

@ycui1
Created April 17, 2022 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ycui1/f83ba2114e98eb5efef32031bee15ee8 to your computer and use it in GitHub Desktop.
Save ycui1/f83ba2114e98eb5efef32031bee15ee8 to your computer and use it in GitHub Desktop.
class Student(Person):
def __init__(self, name, student_id, grade):
super().__init__(name, student_id)
self.grade = grade
def check_in(self, arriving_time):
super().check_in(arriving_time)
required_time = "08:00"
on_time = arriving_time <= required_time
# save the data to the database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment