getting-started-with-lists/quickref.tex
changeset 522 d33698326409
parent 521 88a01948450d
child 523 54bdda4aefa5
--- a/getting-started-with-lists/quickref.tex	Wed Nov 17 23:24:57 2010 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-Creating an list\\
-{\ex \lstinline| empty=[]|}
-
-Create a filled list\\
-{\ex \lstinline| nonempty = ['spam', 'eggs', 100, 1.234]  |}
-
-Accessing a list\\
-{\ex \lstinline|    nonempty[0] |}
-{\ex \lstinline|    nonempty[-1] |}
-
-Length of a list\\
-{\ex \lstinline|    len(nonempty) |}
-
-Append an element to a list\\
-{\ex \lstinline|    nonempty.append('python') |}
-
-Remove elements of a list\\
-{\ex \lstinline|    del(nonempty[1] |}
-{\ex \lstinline|  nonempty.remove(100) |}