Question: 1 2 . 4 0 Chapter 5 : Swap Rooms In this lab create a list with different rooms carrying different names in it .
Chapter : Swap Rooms
In this lab create a list with different rooms carrying different names in it Write a code to swap names of two rooms with each other in the list.
Test by pasting the following names into input window. The input below is the list of different rooms.
John Doe
John Doe
John Doe
John Doe
John Doe
Test it by providing the input as which two rooms should swap their names with each other.
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
