Skip to main content
🔮 Output PredictionPY Python Easy⚡+10 XP

List Slicing

What does this print?

Python
nums = [10, 20, 30, 40, 50]
print(nums[1:3])

🔮 What is the output?