diff options
Diffstat (limited to 'manipulating-lists/quickref.tex')
-rw-r--r-- | manipulating-lists/quickref.tex | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/manipulating-lists/quickref.tex b/manipulating-lists/quickref.tex deleted file mode 100644 index d571a9e..0000000 --- a/manipulating-lists/quickref.tex +++ /dev/null @@ -1,10 +0,0 @@ -Slicing \& Striding a list:\\ -{\ex \lstinline| A[start:stop:step]|} \lstinline|stop| excluded - -Sorting a list:\\ -{\ex \lstinline| sorted(A)|} -- returns new list -{\ex \lstinline| A.sort()|} -- in-place sort - -Reversing a list:\\ -{\ex \lstinline| A[::-1]|} -- returns new list -{\ex \lstinline| A.reverse()|} -- in-place reverse |