Question: 5 0/12 points Suppose for each statement below the two lists are fixed as L1=[1, 2, 3); L2=[4, 5, 6] Pick all statements that are

 5 0/12 points Suppose for each statement below the two lists

5 0/12 points Suppose for each statement below the two lists are fixed as L1=[1, 2, 3); L2=[4, 5, 6] Pick all statements that are True (hint: If you are not sure, you should print out the values of L1, L2 and L after each operation) To generate a list L that stores (1,2,3, [4,5,6]] one can do L=L1.append(L2) To generate a list L that stores (1,2,3,4,5,6]] one can do L1.append(L2); L=L1.copy To generate a list L that stores (1,2,3,4,5,6] one can do L=L1.extend(L2) To generate a list L that stores (1,2,3,4,5,6] one can do L1.extend(L2); L=L1.copy To generate a list L that stores (1,2,3, [4,5,6],4,5,6] one can do L1.append(L2); L1.extend(L2); L=L1.copy() To generate a list L that stores (1,2,3,4,5,6], 1.2,3] one can do L1.append(L2); L1.extend(L1); L=L1.copy To generate a list L that stores (1,2,3,4,5,6], 1,2,3] one can do L1.append(L2); L1.extend(L1[:3]); L=L1.copy

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!