[Python] Palindrome Checking Function

A palindrome is a word, number or sentence which reads the same way backward and forward. Let’s write a Python function to check for palindrome entities!