CBSE · 083Class XII · 2025Section A1 mark
Question 06
4 March 2025 · Computer Science (083)
Consider the statements given below and then choose the correct output from the given options :
python
L=['TIC', 'TAC']
print(L[::-1])Answer
(d) ['TAC', 'TIC']
Explanation
L[::-1] creates a shallow copy of the list in reverse order. The elements themselves are not reversed.