Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check if all characters in string are same python

s == len(s) * s[0]
 
PREVIOUS NEXT
Tagged: #check #characters #string #python
ADD COMMENT
Topic
Name
9+1 =