New Required Python Skills: Dictionaries
Resources available for teachers. Get Access
Modify your playNote() function from Lesson 10 to use the dictionary shown above. How does this function compare to your original one?
Add your own colors to the color dictionary shown above. Use this dictionary to write a program that lets the user enter a color name and then turns the Finch beak that color. Your program should check that the user has entered a valid color name and give them an error if needed.
Expand the dictionary above to link other characters to different movements of the Finch. Then use this dictionary to write a program that lets the user drive the Finch using the keyboard.