I have a string s = \'10001001\'. When I use:
return [s[i:i+4] for i in range(0, len(s), 4)]
it returns
[\'1000\',\'1001\']