Question: In Python classifying animals as mammals, birds, fish, reptiles, or amphibian. You will classify these animals by asking the user which of the following features
In Python
classifying animals as mammals, birds, fish, reptiles, or amphibian. You will classify these animals by asking the user which of the following features does the animal have: fur, feathers, scales, or skin? If the user inputs fur, feathers or scales, then you will respond with mammal, bird, or fish respectively. If the user inputs skin, then you will additionally prompt them with is the skin dry or moist. If the user enters dry then you should return reptile, if they enter moist then you should return amphibian. If at any time the user enters an invalid response, you should print invalid input and the program should end. You will use an if/elif/else tree to do these classifications, and your final classification tree will look like this.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
