diff --git a/Chapter_09/9-02_three_restaurants.py b/Chapter_09/9-02_three_restaurants.py new file mode 100644 index 0000000..2feb5ec --- /dev/null +++ b/Chapter_09/9-02_three_restaurants.py @@ -0,0 +1,17 @@ +# Exercise 9-3 Three Restaurants +# Learning Objective: Create 3 instances of the class previously created then call a method for each. + +My_Class = __import__('9-01_restaurant') + + +my_restaurant = My_Class.Restaurant("Pete's Perturbed Petunias", "Somalian Greek Fusion") + +second_restaurant = My_Class.Restaurant("Steve's Summer Salmon House", "Cajun Seafood") + +third_restaurant = My_Class.Restaurant("Louis's Lazy Lumpy Potatoes", "American Comfort Food") + +my_restaurant.describe_restaurant() + +second_restaurant.describe_restaurant() + +third_restaurant.describe_restaurant() \ No newline at end of file