Frage im Vorstellungsgespräch bei JPMorganChase

write python function which checks if inserted string is a palindrome