Write a python function to check if a given string is a palindrome


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

Solution

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



List all Python Programs