Robichaux’s Rescue has a number of dogs available for adopti…
Robichaux’s Rescue has a number of dogs available for adoption and need a program for users to search for dogs based on their criteria. The main.py file (already provided to you) is already partially written. In order to solve this assignment, you will need to modify the main.py file create a Rescue class in businesses.py create a Dog class in animals.py Requirements for Rescue Class An instance of the Rescue Class must include an inventory property which will hold a list of Dog objects a capacity property the Rescue Class must have a method for adding an instance of the Dog class to it without exceeding the Rescue’s capacity Requirements for Dog Class An instance of the Dog Class must include a breed property a color property an age property All properties must be set via passing parameters to the constructor e.g. example_dog = Dog(“Chihuahua”, “Tan”, 5) The equality operator’s default behavior must be overridden so that the properties of the Dog class instance can be compared to another’s properties Requirements for main.py Modifications In the main.py file you must do the following: import your Dog class and your Rescue class from their respective files that you create create an instance of your Rescue class set the capacity of the Rescue class to 20 use the method your wrote to add a dog to your instance of a Rescue object to add a new instance of your Dog class to the instance of the Rescue object using the breed, color, and age randomly generated in the for loop that adds 10 random dogs Search through your rescue’s inventory and compare each dog in inventory to the provided search_dog variable. If they are equal, then change the dog availability flag to true and break out of the search Once the above requirements are satisfied, your main.py program should run and you should see one of the below outputs: You are looking for a Brown Lab that is 2 years oldWe have that dog available! or You are looking for a Brown Lab that is 2 years oldWe don’t have that dog available, sorry! Bonus Opportunity Use accessors (getters) and mutators (setters) appropriately in your Dog class AND modify the main.py file to use the getter methods you write hint: after your search_dog object is initialized, the main.py program then accesses some properties Modify the main.py file to prompt the user for the breed, color, and age of the dog that the user is searching for What You Will Submit You will submit a link to your github repository as an answer to this question. Your code must be uploaded in your repository.