Question: 2. (15 points) Create a new class named Resturant whose method __init_0 sets two properties, resturant_name and cuisine type. Create one mothed named describe_resturant to
2. (15 points) Create a new class named Resturant whose method __init_0 sets two properties, resturant_name and cuisine type. Create one mothed named describe_resturant to prints the above two items of information. Ice cream shop is a special kind of restaurant. Write a class called IceCream Stand, and let it inherit the resturant class. Add an attribute called flavors to store a list of ice cream flavors. Write a method to show the list of ice cream flavors. Create an icecreamstand instance and call this method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
