Easebuzz Interview Question

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