<prompt> Unda programu ya kugawa wanyama katika vikundi tofauti.  <response>: Heres a simple Python program that categorizes animals into different groups based on their type and habitat:python create lists for each groupmammals birds reptiles aquatic_animals amphibians define a function to categorize animalsdef categorize_animalname, type, habitat: if type mammal: mammals.appendname elif type bird: birds.appendname elif type reptile: reptiles.appendname elif type aquatic: aquatic_animals.appendname elif type amphibian: amphibians.appendname if habitat land: if name not in mammals birds reptiles amphibians: mammals.appendname elif habitat water: if name not in aquatic_animals: aquatic_animals.appendname categorize some animalscategorize_animalTiger, mammal, landcategorize_animalEagle, bird, landcategorize_animalCrocodile, reptile, watercategorize_animalShark, aquatic, watercategorize_animalFrog, amphibian, water print the groupsprintMammals:, mammalsprintBirds:, birdsprintReptiles:, reptilesprintAquatic Animals:, aquatic_animalsprintAmphibians:, amphibiansThis program creates five lists to store the names of animals in each group. The categorize_animal function takes in the name, type, and habitat of an animal and adds the name to the appropriate group list. The program then calls this function multiple times to categorize different animals, before printing out the animals in each group. 