DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+4 =
Submit