Inheritance prog doubt

why its showing the error that
NameError Traceback (most recent call last)
in
31 t.tell()
32 s = students(‘Shlok Vashishth’,23,95)
—> 33 s.tell()

in tell(self)
25
26 def tell(self):
—> 27 SchoolMember.tell(Self)
28 print(‘marks:"{:d}"’.format(self.marks))
29

NameError: name ‘Self’ is not defined

Hey @shlok.sharma3, you need to pass self in the following line :

SchoolMember.tell(Self)

Please lowercase the ‘s’ used in Self.

I hope this clears your doubt ! :+1:
Please mark the doubt as resolved in your doubts section ! :slightly_smiling_face:
Happy Learning ! :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.