s = 'abcdef' l = [s[:3], s[3:]] print(l)
s = 'abcdefghijklmnopqrstuvwxyz' i = 3 l = [] while len(s) > 0: l.append(s[:i]) s = s[i:] print(l)