Question: write function called CompareLists that takes in 2 lists as parameters and checks whether they have the same elements in the same order . If
write function called CompareLists that takes in 2 lists as parameters and checks whether they have the same elements in the same order. If the elements are all the same, the function should return the string "Perfect match!". If any of the elements are different, the function should return the string "whoops!". The definition of the function should be:
def CompareLists(paramList1, paramList1):
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
