Answer the question
In order to leave comments, you need to log in
How to split a string by 4 characters in python?
How to split a string by 4 characters in python? That is, for example, there is a line: "Masha has a red cow" and it must be divided into 4 characters: "U ma", "shi e", "st", "red", "I ko", "ditch". And all these passages must be kept in the list.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question