Question: Python program please! Crayon Colors The file Colors txt contains the names ( beginning with uppercase letters ) of 1 2 3 crayon colors with

Python program please!
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.
The file Months . txt is located in the folder Programs/Ch4 of the material downloaded from the Peatson website. All text files requited for exercises in this chapter are located in that folder:
Enter a letter: D Dandelion Denim Desert Sand
FIGURE 4.9 Possible outcome of Exercise 33.
 Python program please! Crayon Colors The file Colors txt contains the

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!