The class Resturant:
Def _init_ (self, nam, type) :
The self. The name=nmae
Self. Type=type
Def describe_restuarant (self) :
Print (" f The restuarant name is {The self. The name} ")
Print (f "The type of restuarant is {self. Type}")
Restuarant1=Resturant (' ZZX ', 'China')
Restuarant2=Resturant (' ZZQ 'and' west ')
Restuarant3=Resturant (' zp 'and' west ')
Restuarant1. Describe_restuarant
Restuarant2. Describe_restuarant
Restuarant3. Describe_restuarant