InterviewSolution
Saved Bookmarks
| 1. |
Write the output of the following program : L1=[3,3,8,1,3,0,'1','0','2','e','w','e','r']print(L1[::-1])print(L1[-1:-2:-3]) |
|
Answer» for the first Print STATEMENT you get the reverse of the list whereas for the SECOND print you will get ['R'] as the outputHope you got it |
|