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 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.
The file Months txt is located in the folder ProgramsCh 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 Possible outcome of Exercise
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
