Question: Python Write the code to complete the following tasks: You have 2 lists of strings with contents of your choice. Use a loop that goes
Python
Write the code to complete the following tasks: You have 2 lists of strings with contents of your choice.
Use a loop that goes through the lists and compares the lists elements and displays only the list elements that are duplicate (the element exists in both lists). The strings should be displayed even if in one is used uppercase and in the other lowercase or a combination of it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
