Search
 
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
Name
7+4 =