Lambda Use In Python Code For Palindrome