infytq previous year questions code example
Example: infytq previous year questions
class Shape (metaclass-ABCMeta) :
def _init_(self) :
print ( “I am in init”)
def draw_shape(self) :
pass
def set_color(self) :
pass
class Circle(Shape) :
def draw_shape(self) :
print(“Draw Circle”)