python string after character

Solutions on MaxInterview for python string after character by the best coders in the world

showing results for - "python string after character"
Camilla
17 Mar 2018
1# s = string
2# insert space after 5th character
3    new_s = s[:6] + " " + s[6:]