C
C
CHAS242020-06-15 16:45:33
Python
CHAS24, 2020-06-15 16:45:33

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 question

Ask a Question

731 491 924 answers to any question