Page 1 of 1

If a=(1,2,3,4), a[1:-1] is _________

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
a) Error, tuple slicing doesn’t exist
b) [2,3]
c) (2,3,4)
d) (2,3)