Hey. Could someone explain to me why this function isn’t working.
Its from the exercise
"Create a function named
reversed_list() that takes two lists of the same size as parameters named
The function should return
lst1 is the same as
lst2 reversed. The function should return
reversed_list([1, 2, 3], [3, 2, 1]) should return
it works with:
if lst1[index] != lst2 [len(lst2-1-index]: return False
But doesn’t work the other way. Why so?