In [1]: a = [1,2,3,4] In [2]: a.reverse()In [3]: aOut[3]: [4, 3, 2, 1]
a.reverse()是将a的元素反向排序,返回None,所以b是空的。
如果解决了您的问题请采纳!如果未解决请继续追问!