class Button:
def __init__(self,name,color):
self.name = name
self.color = color
def click_button(self):
print("you clicked the big ",self.color,self.name,"button")
class subscribe(Button):
def __init__(self, name, color):
super().__init__(name, color)
self.subscribed = False
def subscribe(self):
self.subscribe = True
print("you are now subscribed to samine gamme")
print("hello world !")
print("subscribe for more !")
subscribe_button = subscribe("subscribe","red")
subscribe_button.click_button()
subscribe_button.subscribe()