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?

Priygop - Leading Professional Development Platform | Expert Courses & Interview Prep