Question: List colors _ list contains words read from the first line of input. List already _ used contains words read from the second line of
List colorslist contains words read from the first line of input. List alreadyused contains words read from the second line of input. For each element in colorslist that is also in alreadyused:
Output the element, followed by already taken'.
Remove the element from colorslist.
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
