DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python split string every character
s = "foobar" s = list(s) print(s) <output: ['f', 'o', 'o', 'b', 'a', 'r']>
PREVIOUS
NEXT
Tagged:
#python
#split
#string
#character
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit