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


Topic: Write a python function to check if a string is a palindrome or not

Solution

def isPalindrome(s):
    return s == s[::-1]



List all Python Programs