Computer Science, asked by dadaswapnildas, 1 month ago

Given the list L=[[5,3,1,4,6],2,7]. Write the output of L[0][-3:-7:-1]​

Answers

Answered by jagadeesan9374
0

Answer:

-> print(L[2:5]) will return the items from position 2 to 5. -> Remember that the first item is at position 0, and note that the item in position 5 is NOT included. So, the output will be [6,82,5]Read more on Sarthaks.com - https://www.sarthaks.com/968777/given-the-lists-l-1-3-6-82-5-7-11-92-write-the-output-of-print-l-2-5

Similar questions