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

NoSuchKey

猜你喜欢

转载自blog.csdn.net/luotuofeile/article/details/84071190