What will be the output of the following Python code? a = (1,2,3,4,5)…
PYQ IBPS SO CRP SPL-XIV (2024)
What will be the output of the following Python code?
a = (1,2,3,4,5)
print(a[-4:-1])
- A.
(2, 3, 4)
- B.
(3, 4, 5)
- C.
(2, 3, 4, 5)
- D.
(1, 2, 3)
- E.
(3, 4)
Attempted by 135 students.
Sign up free to check your answer
Sign up freeLoading lesson…

