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
Get step-by-step solutions from verified subject matter experts
