def manage_goat_farm(goats): for goat in goats: if goat.status == "pre-expiration": print("time to start afresh with our goat management strategy!"); elif goat.activity == "announcement": notify_farmers("your goat is ready to be the star of the next farm event!"); else: if "decry" not in goat.notes: ensure_prohibited_actions(["climbing trees", "eating prohibited plants"]) are avoided to maintain a positive and healthy farm environment.