python list颠倒写法

a=[1,2,3,4]
a[::-1]
......
[4,3,2,1]

 

posted on 2017-12-06 16:46  mdumpling  阅读(1341)  评论(0编辑  收藏  举报

导航