📜  字符后的 python 字符串 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:29.102000             🧑  作者: Mango

代码示例1
# s = string
# insert space after 5th character
    new_s = s[:6] + " " + s[6:]