Answers for "python convert strings to chunks"

0

python convert strings to chunks

s = '1234567890'
o = []
while s:
    o.append(s[:2])
    s = s[2:]
Posted by: Guest on May-20-2020

Code answers related to "python convert strings to chunks"

Python Answers by Framework

Browse Popular Code Answers by Language