Question: 2 . 1 1 LAB: List basics Given the user inputs, complete a program that does the following tasks: Define a list, myList, containing the
LAB: List basics
Given the user inputs, complete a program that does the following tasks:
Define a list, myList, containing the user inputs myFlower myFlower and myFlower in the same order.
Define a list, yourList, containing the user inputs yourFlower and yourFlower in the same order.
Define a list, ourList, by concatenating myList and yourList.
Append the user input theirFlower to the end of ourList.
Replace myFlower in ourList with theirFlower.
Remove the third element of ourList.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
