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
1
M = [8, 9, 10]
M.append(4)
M.pop(0)
print(M)
Similar questions
English,
3 months ago
Accountancy,
3 months ago
Math,
3 months ago
Math,
7 months ago
History,
1 year ago