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

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

代码示例1
First_half=YourString[:len(YourString)//2]
Second_half=YourString[len(YourString)//2]