Computer Science, asked by harshithakumar, 1 month ago

Given the string List L=[1,3,5,7,9,11,13,15]

write the output of print(L[-1:-9:-2])​

Answers

Answered by Oreki
2

\textsf{\large Given Snippet}

     \texttt{L = [1, 3, 5, 7, 9, 11, 13, 15]}\\\texttt{print(L[-1:-9:-2])}

\textsf{\large Outpu \hspace{-.7em} t}

     \texttt{[15, 11, 7, 3]}      

Similar questions