Computer Science, asked by punyosango, 5 months ago

6. Write the most appropriate list method to perform the following tasks.
(i) Get the position of an item in a list.
(ii) Add single element at the end of the list.
(111) Delete the 4th element from the list.
(iv) Add an element in the beginning of the list.​

Answers

Answered by valeriy69
12
  1. list.index(item)
  2. list.append(item)
  3. list.pop(3)
  4. list.insert(0, item)

\footnotesize\underline\mathsf\color{yellow}{Choose\: brainliest\: if\: it\: helped.}

Similar questions