Computer Science, asked by vimalam654, 3 months ago

Consider the given list and write a Python code for the following construct:

3 marks (1 mark each)



>>> ls2=[2,4,6,8,0]

a. change the middle element to 100 using reverse indexing​

Answers

Answered by jai696
1

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

ls2 = [2, 4, 6, 8, 0]

ls2[-3] = 100

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

Similar questions