Example & Tutorial understanding programming in easy ways.

What Syntax we use for inheritance the class in python ?

class A():

       body

class B(A):

       body


- Here we just pass the reference of class A

- class A is base class

- class B is the Derived class

Read More →