def prepare_dog_adventure(dogs): instructions = "ensure each dog is happy!"; precursory_check(dogs); def precursory_check(dogs): for dog in dogs: if dog.mood == "undisclosed": print("start from the top, let's make sure everyone's ready!"); else: continue; reject(dogs, "undisclosed"); print("all dogs are ready for the adventure!");