Computer Science, asked by ajeetkumar41, 5 months ago

Start with the list[8,9,10]. Do the following using list functions

(a) Set the second entry (index 1) to 17

(b) Add 4 to the end of the list.

(c) Remove the first entry from the list.

(d) Sort the list.

(e) Double the list.

(f) Insert 25 at index 3

fast please ​

Answers

Answered by jai696
2

\huge\red{\mid{\fbox{\tt{Using\: Python\: 3}}\mid}}

li = [8,9,10]

li[1] = 17

li.append(4)

li.pop(0)

li.sort()

li = li * 2

li[3] = 25

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Answered by Japji21
1

Answer:

li = [8,9,10]

li[1] = 17

li.append(4)

li.pop(0)

li.sort()

li = li * 2

li[3] = 25

Similar questions