直接看例子: list.reverse()函数a = [1,2,3,4,5]b = a.reverse()print(a)print(b)得到结果:[5, 4, 3, 2, 1]None可以看出,b.reverse()函数是对b进行 ...
確定! 回上一頁