Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a program for birdwatchers that stores a list of birds along with a count of the number of times each bird has been spotted
Create a program for birdwatchers that stores a list of birds along with a count of the number
of times each bird has been spotted previously currently
ConsoleTest Case:
Test Case: Test Case:
Specifications
Assume there are only five bird names, as shown in the test case. For PreviousCount in
the test case use the given value: Bluebirds, Eagle, Hawk, Killdeer, Pelican.
It is required to use a dictionary to store the data, using the birds name as the key. It is
your decision to include which part of data as the values corresponding to each key for
your dictionary or dictionaries
The program should display the bird names alphabetically, as shown in the test case.
Review Chapter how to use format specifications with fstrings eg LabChB
Then print the results as shown in the test case above.
Defining functions to improve code readability is optional
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started