Question: # Get user inputs myFlower 1 = input ( ) myFlower 2 = input ( ) myFlower 3 = input ( ) yourFlower 1 =
# Get user inputs myFlower input myFlower input myFlower input yourFlower input yourFlower input theirFlower input # Define mylist containing myFlower myFlower and myFlower in that order mylist myFlower myFlower myFlower printmylist # Define yourlist containing yourFlower and yourFlower in that order yourlist yourFlower yourFlower printyourlist # Define ourlist by concatenating mylist and yourlist ourlist mylist yourlist # Append theirFlower to the end of ourlist ourlist.appendtheirFlower printourlist # Replace myFlower in ourlist with theirFlower ourlist theirFlower printourlist # Remove the third element of ourlist del ourlist printourlist
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
