Itérer à travers la chaîne en morceaux en python
mystring = "backballbillbothbulkcastcarecase"
# Getting length of string
chunksplit = 4
chunks = [mystring[i:i+chunksplit]
# Iterating through the string using rang
for i in range(0, len(mystring), chunksplit)]
# Print the new list consists of words of 4 character each
print(chunks)
Cautious Cow