Skip to Content
Code Challenge: Loops
Reversed List

reversed_list(lst1, lst2)



Create a function named reversed_list() that takes two lists of the same size as parameters named lst1 and lst2.

The function should return True if lst1 is the same as lst2 reversed. The function should return False otherwise.

For example, reversed_list([1, 2, 3], [3, 2, 1]) should return True.

Folder Icon

Sign up to start coding

Already have an account?