If I were you I would mark the answer as best, where I posted the code and not the other one....
Ohh and if your query was solved, why not marking this question as solved (editing the question)
That's an example only.. You can redefine as you need.. Take
n = int(input()) %len(s)# now you can give value of needed parts. Yes. Index start from 0 so if need 5 parts input 5-1=4 like wise...
Yes.. Yours Edit works i think..
ss = list(s[:n])