Question: Using python, write code for problem. The text file ShortColors.txt is used and i have put screenshot of data from the text file. Please also

Using python, write code for problem. The text file ShortColors.txt is used and i have put screenshot of data from the text file. Please also put screenshot of your code.

Crayon Colors The file ShortColors.txt initially contains the names of all the colors in a full box of Crayola crayons. Write a program that deletes all colors from the file whose name contains more than six characters. Almond Antique Brass Apricot Aquamarine Asparagus Atomic Tangerine Banana Mania Beaver Bittersweet

Almond Antique Brass Apricot Aquamarine Asparagus Atomic Tangerine Banana Mania Beaver Bittersweet Black Blizzard Blue Blue Blue Bell Blue Green Blue Violet Blush Brick Red Brink Pink Brown Burnt Orange Burnt Sienna Cadet Blue Canary Caribbean Green Carnation Pink Cerise Cerulean Chestnut Copper Cornflower Cotton Candy Dandelion Denim Desert Sand Eggplant Electric Lime Fern Forest Green Fuchsia Fuzzy Wuzzy Brown Gold Goldenrod Granny Smith Apple Gray Green Green Yellow Hot Magenta Inchworm Indigo Jungle Green Laser Lemon Lavender Macaroni and Cheese. Magenta Magic Mint Mahogany Manatee Mango Tango Maroon Mauvelous Melon Midnight Blue Mountain Meadow Mulberry Navy Blue Neon Carrot Olive Green Orange Orchid Outer Space Outrageous Orange Pacific Blue Peach Periwinkle Pig Pink Pine Green Pink Flamingo Plum Red Orange Red Violet Raw Sienna Razzle Dazzle Rose Razzmatazz Red Robin's Egg Blue Royal Purple Salmon Scarlet Screamin Green Sea Green Sepia Shadow Shamrock Shocking Pink Silver Sky Blue Spring Green Sunglow Sunset Orange Tan Teal Blue Tickle Me Pink Timber Wolf Tropical Rain Forest Tumbleweed Turquoise Blue Unmellow Yellow Violet (Purple) Violet Red Vivid Tangerine Vivid Violet Purple Heart White Purple Mountain's Majesty Wild Blue Yonder Purple Pizzazz Wild Strawberry Radical Red Wild Watermelon Wisteria Yellow Yellow Green Yellow Orange

Step by Step Solution

3.53 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem we need to write a Python program that reads the Sho... View full answer

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 Programming Questions!