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

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!