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