"""Example of Finding Palindromes with Lambda Functions and Negative Slicing"""

# One-Liner
is_palindrome = lambda phrase: phrase == phrase[::-1]

# Result
print(is_palindrome("anna"))
print(is_palindrome("kdljfasjf"))
print(is_palindrome("rats live on no evil star"))