Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

palindrome

def is_palindrome(s):
    string = s
    if (string==string[::-1]):
        print("The string IS a palindrome")
    else:
        print("The string is NOT a palindrome")
    return
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #palindrome
ADD COMMENT
Topic
Name
8+6 =