+ 3

How to split a number of letter in python

n="604603602601600" n=n.split(____) print(n) output be ["604","603","602","601","600"] split the string into 3 letters what I use to split by 3 letters in the split function split(___?____)

16th May 2017, 7:49 AM
<Tharun Kumar>
<Tharun Kumar> - avatar
3 Respuestas
+ 4
thanks @James I got the logic
16th May 2017, 8:03 AM
<Tharun Kumar>
<Tharun Kumar> - avatar