I found this to be the easiest way.
Decided to check if anyone else had the same idea but I didn’t see it here so I figured I’d share.
def reversed_list(lst1, lst2):
if lst1 == lst2[::-1]:
return True
else:
return False
I found this to be the easiest way.
Decided to check if anyone else had the same idea but I didn’t see it here so I figured I’d share.
def reversed_list(lst1, lst2):
if lst1 == lst2[::-1]:
return True
else:
return False