Skip to main content
Speed Challenge (60 Seconds)1 of 10
code•predict output•python
0s
+10 XP
1/10

Python List Slicing Step

What is the output of this Python slicing expression?

python
nums = [10, 20, 30, 40, 50]
print(nums[1:4:2])
Exit to Challenges