利用切片操作,实现一个trim()函数,去除字符串首尾的空格,不调用str的strip()方法:

NoSuchKey

猜你喜欢

转载自blog.csdn.net/weixin_42692164/article/details/104815209