DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python palindrome string
s = "001100" if s == s[::-1]: print("palindrome string") else: print("Not a palindrome string.")
PREVIOUS
NEXT
Tagged:
#python
#palindrome
#string
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit