Question: Question 9 ( 1 point ) Consider this code fragment: a = [ 1 , 5 , 3 , 7 , 2 , 9 ,

Question 9(1 point)
Consider this code fragment:
a=[1,5,3,7,2,9,6]
b=a[1:4]
What does b=a[1:4] do?
It assigns [1,5,3] to b.
It assigns [5,3,7,2] to b.
It assigns 5,3,7 to b.
It assigns [1,5,3,7] to b.
 Question 9(1 point) Consider this code fragment: a=[1,5,3,7,2,9,6] b=a[1:4] What does

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!