Hello Everyone,
On the fourth exercise and fifth exercise I was able to complete the tasks assuming we have equal lists,
But how do i solve the challenge if the lists we unequal.
Fourth exercise:

``````#Write your function here
def same_values(lst1, lst2):
new_lst = []
for index in range(len(lst1)):
if lst1[index] == lst2[index]:
new_lst.append(index)
return new_lst

#Uncomment the line below when your function is done
print(same_values([5, 1, -10, 3, 3], [5, 10, -10, 3, 5]))```

Fifth exercise:

def reversed_list(lst1, lst2):

for index in range(len(lst1)):

if lst1[index] != lst2[len(lst2) - 1 - index]:

return False

return True

#Uncomment the lines below when your function is done

print(reversed_list([1, 2, 3], [3, 2, 1]))

print(reversed_list([1, 5, 3], [3, 2, 1]))
``````

If the lists are uneven in length, then they cannot be the same, can they? While the longer list may contain all the values of the shorter one, it is still not the same.

``````if len(lst1) != len(lst2):
return False``````