[python] How to check for palindrome using Python logic

Here a case insensitive function since all those solutions above are case sensitive.

def Palindrome(string): 

  return (string.upper() == string.upper()[::-1]) 

This function will return a boolean value.