Skip to content

Commit

Permalink
Merge pull request #18 from devlup-labs/bug-fix
Browse files Browse the repository at this point in the history
Bug fix
  • Loading branch information
Advaitgaur004 authored Oct 25, 2024
2 parents 737be04 + 1194018 commit 0921a2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demo/src/student_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def add_student(self, roll_no, name, age, grade):

for student in self.students:
if student.roll_no == roll_no:
#Pushing a bug fix
return False, "Student with this roll number already exists"


Expand Down

0 comments on commit 0921a2a

Please sign in to comment.