Question: Which list will be referenced by the variable a after the following code is executed? number = list ( range (10,0,2)) a= number[0:5:2] [0,1,2,3,4,5,6,7,8,9] [10,8,6,4,2,0]
Which list will be referenced by the variable a after the following code is executed? number = list ( range (10,0,2)) a= number[0:5:2] [0,1,2,3,4,5,6,7,8,9] [10,8,6,4,2,0] [10,6,2]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
