equal
deleted
inserted
replaced
34 |
34 |
35 6. What is the function to find the length of a list? |
35 6. What is the function to find the length of a list? |
36 |
36 |
37 len |
37 len |
38 |
38 |
39 7. |
39 7. Delete the last element from list sq=[5,4,3,2,1,0] |
|
40 |
|
41 del(sq[-1]) |
|
42 |
|
43 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]? |
|
44 |
|
45 3 |
40 |
46 |
41 Larger Questions |
47 Larger Questions |
42 ---------------- |
48 ---------------- |
43 |
49 |
44 .. A minimum of 2 questions here (along with answers) |
50 .. A minimum of 2 questions here (along with answers) |