Q1.
What will be the output of the following Python code snippet?
nums = [2, 4, 6, 8, 10]
print(nums[1:4:2])Show answer & solution
Verified Answer & Solution Locked
Sign in to your free student account to reveal verified answers, instant hints, and detailed explanations.