python split string in groups of 3 code example
Example: split string into groups of 3 chars python
from textwrap import wrap
print(wrap('string', 2))
# splits 'string' into a list of 2 char strings
from textwrap import wrap
print(wrap('string', 2))
# splits 'string' into a list of 2 char strings