Class2 Example in Python

8 / 100 SEO Score
class Student():
def display(self,a,b):
print("sum",(a+b))
s=Student()
s.display(10,20)

Leave a Reply

Your email address will not be published. Required fields are marked *