| 
 
| 创建类之后,每次运行都提示 Restaurant takes no arguments. 请问哪里有问题呀? 
 class Restaurant():
 def _init_(self, restaurant_name, cuisine_type):
 self.name = name
 self.cuisine_type = cuisine_type
 def describe_restaurant(self):
 print("The restaurant is "+ self.name.title()+".")
 print("The cuisine type is "+ self.cuisine_type.title()+".")
 def open_restaurant(self):
 print("The restaurant: "+ self.name.title + " is now opening!")
 
 res_1 = Restaurant('Tangren' , 'Chinese food')
 res_1.describe_restaurant()
 | 
 |