Easebuzz interview question

Write a python code to check if a string is palindrome or not