假设我有以下字符串:
"Python is a programming language that lets you work more quickly and integrate your systems more effectively. You can learn to use Python and see almost immediate gains in productivity and lower maintenance costs."
起始字位置:5
结束字位置:10
从 5 到 10 的位置打印所有单词有什么建议吗?