Question: Python 3 Implement a function inBoth() that takes as parameters two lists and returns True if there is an item that is common to both
Python 3
Implement a function inBoth() that takes as parameters two lists and returns True if there is an item that is common to both lists and False otherwise. The list can contain numbers, strings, or a mix of both. If the lists contain strings, the capitalization of the string matters when considering whether items match. The information below shows how you would call the function inBoth() and what it would display for several sample executions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
