a[::-1]相当于 a[-1:-len(a)-1:-1],也就是从最后一个元素到第一个元素复制一遍。

NoSuchKey

猜你喜欢

转载自www.cnblogs.com/cranx/p/9068245.html