Adding metadata to getting started with lists.
authoramit
Thu, 28 Oct 2010 15:36:15 +0530
changeset 374 57d145c18ccd
parent 373 037b06baf7d3
child 375 c62b166b3f00
Adding metadata to getting started with lists.
getting-started-with-lists/questions.rst
getting-started-with-lists/script.rst
--- a/getting-started-with-lists/questions.rst	Thu Oct 28 15:15:28 2010 +0530
+++ b/getting-started-with-lists/questions.rst	Thu Oct 28 15:36:15 2010 +0530
@@ -36,7 +36,13 @@
 
    len
 
- 7.	
+7. Delete the last element from list sq=[5,4,3,2,1,0]
+
+   del(sq[-1])
+   
+8. How many will you have to use remove function to remove all 6's from the given list sq=[2,5,6,7,6,4,6]?
+
+   3
 
 Larger Questions
 ----------------
--- a/getting-started-with-lists/script.rst	Thu Oct 28 15:15:28 2010 +0530
+++ b/getting-started-with-lists/script.rst	Thu Oct 28 15:36:15 2010 +0530
@@ -1,3 +1,31 @@
+.. Objectives
+.. ----------
+
+.. By the end of this tutorial, you will be able to
+
+.. Create Lists.
+.. Access List elements.
+.. Append elemets to list
+.. Delete list elemets
+
+.. 1. getting started with ipython 
+
+
+
+.. Prerequisites
+.. -------------
+
+..   1. getting started with strings
+..   #. getting started with lists
+..   #. basic datatypes
+     
+.. Author              : Puneeth 
+   Internal Reviewer   : Amit 
+   External Reviewer   :
+   Checklist OK?       : <put date stamp here, if OK> [2010-10-05]
+
+Script
+------
 Hello friends and welcome to the tutorial on getting started with
 lists.