forked from p3qolzsn9/stu1
大
parent
bc40d9928b
commit
23f8e01cf9
@ -0,0 +1,6 @@
|
|||||||
|
def find_student_by_sid(self,sid:str)-> Optional[Student]:
|
||||||
|
students =self.load_students()
|
||||||
|
for student in students:
|
||||||
|
if student.sid==sid:
|
||||||
|
return student
|
||||||
|
return None
|
Loading…
Reference in new issue