Question: A1) List Write a program that does following steps: a) Create the list colors that includes the items Red, Green, and Blue. b) Adds the
A1) List Write a program that does following steps: a) Create the list colors that includes the items "Red", "Green", and "Blue". b) Adds the item "Purple" to the end of the list colors. c) Also add the item "Rose" in the second location of the list. d) Deletes the item "Red" from the colos list. e) Prints the last two items in the colors list using negative indexing. f) Copies the list colors by reference into new list - color1 and print this list.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
