学PYTHON,模仿敲代码,不知道报错错在哪里
class Restaurant():
def _init_(self,restaurant_name,cuisine_type):
self.restaurant_name = restaurant_name
self.cuisine_type = cuisine_type
def describe_restaurant(self):
print(f"Our restaurant'name is {self.restaurant_name}!")
print(f"Our cuisine type is {self.cuisine_type}!")
def open_restaurant(self):
print(f"Our restaurant {self.restaurant_name} is opening now!")
my_restaurant = Restaurant('Happy','Chinese food')