class Restaurant:
def __init__(self, restaurant_name, cuisine_type):
self.restaurant_name = restaurant_name
self.cuisine_type = cuisine_type
class IceCreamStand(Restaurant):
def __init__(self, restaurant_name, cuisine_type):
super().__init__(restaurant_name, cuisine_type)
self.flavors = ['vanilla', 'chocolate', 'strawberry']
def show_icecream_fiavors(self):
for flavor in self.flavors:
print(f"Your icecream has {self.flavors} flavor")
myicecream = IceCreamStand('haoke', 'beef')
myicecream.show_icecream_fiavors()