Question: Python Code 7. Write the code for a Bird program. The program should ask for user to input a bird name to check for availability

Python Code

7. Write the code for a Bird program. The program should ask for user to input a bird name to check for availability and print a statement informing the user of availability. Create a function called birdAvailable() birdTypes = crow robin parrot eagle sandpiper hawk pigeon Return True or False (you are making this a Boolean Function: True if bird type is found in list and False if bird type is not found in list) Call the function using the name of a bird type from User input() example: Enter a type of bird to search: Display a sentence that indicates the availability of the type of bird checked Example output: Chicken available is False. OR Hawk available is True. Example of Algorithm for the Bird Program: 1) Create function birdAvailable 2) Get user input() 3) Call birdAvailable 4) Print availability status

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!