changeset 374 | 57d145c18ccd |
parent 342 | 588b681e70c6 |
--- 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 ----------------