Check if you found any error in the below code: school_name = 'ABC School' def __init__(self, name, roll_no): self.name = name self.roll_no = roll_no def show(self)" print('Inside Instance Method') print(self.name, self.roll_no, self.school_name) print(Student.school_name) s1 = Student('Emma', 10) s1.show()
Be the first one to answer
Add answer anonymously...
Top Kyndryl Senior Data Scientist interview questions & answers
Popular interview questions of Senior Data Scientist
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app