Categories
Mastering Development

How to divide the string depending on length in seqeunce in python?

>>>mymedicinesarerighthere You need to break this word down in the following way: >>>[m, ym ,edi ,cine ,sarer ,ighthe, re]