#逆向从负一开始计数 s = '床前明月光' print(s[0]) print(s[1]) print(s[2]) print(s[3]) print(s[4]) print() print(s[-1]) print(s[-2]) print(s[-3]) print(s[-4]) print(s[-5])
04-08
5077
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-08
6448
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-06
3369
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-20
1006
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)