Question: Exercise 3 Step 1: Create a new editor window and save it. Use lab6ex3.py as the file name. Step 2: Use the function design recipe

Exercise 3 Step 1: Create a new editor window and save it. Use lab6ex3.py as the file name. Step 2: Use the function design recipe to develop a function named common_end. The function takes two lists of integers that are not empty, but which may have different lengths. The function returns True if they have the same first element or the same last element or if the first and last elements of both lists are the same. Otherwise, the function returns False. Your function definition must have type annotations and a complete docstring. Use the Python shell to test your function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
