Question: Initialize a list of color names and write a program that does the following: (4) - Add the color BLACK to the end of the

Initialize a list of color names and write a program that does the following: (4) - Add the color BLACK to the end of the list - Replace 3rd color in the list by BLUE - Display total count of colors in the list - Take a color from the user and display its position (Not the index) in the list

Answer should be of PYTHON codes

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!