how to write this code in python?

Palindromes A word is said to be a palindrome if it is spelt the same
PayPal Gateway not configured
PayPal Gateway not configured
how to write this code in python?

Palindromes A word is said to be a palindrome if it is spelt the same
PayPal Gateway not configured
PayPal Gateway not configured