Question: Use python and write code for program. The text file Colors.txt is used in this program and i have added screenshots of the data. The

Use python and write code for program. The text file Colors.txt is used in this program and i have added screenshots of the data. The data given starts in alphabetical order.

Use python and write code for program. The text file Colors.txt isused in this program and i have added screenshots of the data.The data given starts in alphabetical order. 33. Crayon Colors The filecolors .txt contains the names (beginning with uppercase letters) of 123 crayoncolors with one color per line. Write a program that requests aletter of the alphabet as input and then displays the colors beginning

33. Crayon Colors The file colors .txt contains the names (beginning with uppercase letters) of 123 crayon colors with one color per line. Write a program that requests a letter of the alphabet as input and then displays the colors beginning with that letter. The program should use a global variable colors that is initialized as an empty list. The function main should call three functions, one to request the initial letter, one to fill the list colors with the colors having the requested initial letter, and one to display the names of the colors in the list. See Fig. 4.9

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!