Question: Consider the code below: first= [1,2] second = [4,5,6] third= [8, 9, 10,11] myList = [first, second, third] print(myList*2) print(myList[0]) print(myList[1]) print(myList[2][3]) print(myList[0][0]) print(myList[1][1]) print(myList[-2])
Consider the code below:
first= [1,2]
second = [4,5,6]
third= [8, 9, 10,11]
myList = [first, second, third]
print(myList*2)
print(myList[0])
print(myList[1])
print(myList[2][3])
print(myList[0][0])
print(myList[1][1])
print(myList[-2])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
