Report Bug

QusIf a=(1,2,3,4), a[1:-1] is _________ Qusयदि a = (1,2,3,4), एक [1: -1] _________ है


A. Error, tuple slicing doesn’t exist
B. [2,3]
C. (2,3,4)
D. (2,3)


Solution
D. (2,3)



Explanation
Tuple slicing exists and a[1:-1] returns (2,3).
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad