DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python convert strings to chunks
s = '1234567890' o = [] while s: o.append(s[:2]) s = s[2:]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#convert
#strings
#chunks
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit