split string into 3 with split code example Example: python convert strings to chunks s = '1234567890' o = [] while s: o.append(s[:2]) s = s[2:]