How would I be able to take a string like \'aaaaaaaaaaaaaaaaaaaaaaa\' and split it into 4 length tuples like (aaaa,aaaa,aaaa
\'aaaaaaaaaaaaaaaaaaaaaaa\'
aaaa
s = 'abcdef'
We need to split in parts of 2
[s[pos:pos+2] for pos,i in enumerate(list(s)) if pos%2 == 0]
Answer:
['ab', 'cd', 'ef']