Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 279 Bytes

56.md

File metadata and controls

22 lines (18 loc) · 279 Bytes
@author jackzhenguo
@desc 
@date 2019/3/20

56 反向迭代器reversed

In [1]: rev = reversed([1,4,2,3,1])

In [2]: for i in rev:
     ...:     print(i)
     ...:
1
3
2
4
1
[上一个例子](55.md) [下一个例子](57.md)