Mettl Practice Test
Mettl Coding Skills 2
What will the following Python code output?
x = [1, 2, 3, 4, 5]
print(x[1:4])
Select your answer
A
[1, 2, 3]
B
[2, 3, 4]
C
[2, 3, 4, 5]
D
[1, 2, 3, 4]
Hint