Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

palindrome Rearranging python one line

def palindromeRearranging(inputString):
    return sum(map(lambda x: inputString.count(x) % 2, set(inputString))) <= 1
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #palindrome #Rearranging #python #line
ADD COMMENT
Topic
Name
9+4 =