Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python palindrome check

#Palindrome check
word = 'reviver'
p = bool(word.find(word[::-1]) + 1)
print(p) # True
Source by zerotomastery.io #
 
PREVIOUS NEXT
Tagged: #python #palindrome #check
ADD COMMENT
Topic
Name
3+9 =