In the above diagram, you can clearly see how Python reverses a list when you call reverse() on it. It simply swaps the element from start with ...
確定! 回上一頁