Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

palindrom python rekursiv

def ispalindrome(word):
    if len(word) < 2: return True
    if word[0] != word[-1]: return False
    return ispalindrome(word[1:-1])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #palindrom #python #rekursiv
ADD COMMENT
Topic
Name
9+9 =