split string *s* into list of strings no longer than *length*
(s, length)
| 305 | |
| 306 | |
| 307 | def split_len(s, length): |
| 308 | """split string *s* into list of strings no longer than *length*""" |
| 309 | return [s[i:i+length] for i in range(0, len(s), length)] |
| 310 | |
| 311 | |
| 312 | def to_mixed_case(s): |
no outgoing calls
no test coverage detected
searching dependent graphs…