4.(a) Consider the following list
List1-/2,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]
Write commands for the following
1. Add 20 at last
2. Insert 4 at third position
3. Sort the elements of the list
4. Count how many times 6 is available
5. Delete all elements from 3rd to 9th position
6. Delete 11 from the list
7. Search the position of 13 in the list
8. Find the maximum value of the lst
9. Find the length of the list
10. Delete all the elements of the list
Answers
Answered by
0
Answer:
1..................18,19,20
2.1-/2,4,3,5,6................
3.111111111111,22,33,4,55,66,77,88,99,0,,,,,,,,,,,,,,,,,,-,/
4.2
5.1-6,7,...........
6.1-/2,3,5,6,7,8,9,10,12,13,14..........
7.27,28
8.47
9.big
10.
Similar questions