Computer Science, asked by Jak909, 7 months ago

M=list[8,9,10]
What is the code to:
a) Add 4 to the end of the list.
b) Remove the first entry from the list.

Answers

Answered by jai696
1

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

M = [8, 9, 10]

M.append(4)

M.pop(0)

print(M)

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

Similar questions