Question: Write a Python program that perform the following tasks [8 marks]: 1. Create two lists: a. L1: 1, 2, 3 b. L2: 7,8,9 2.

 Write a Python program that perform the following tasks [8 marks]: 1. Create two lists: a. L1: 1, 2, 3 b. L2: 

Write a Python program that perform the following tasks [8 marks]: 1. Create two lists: a. L1: 1, 2, 3 b. L2: 7,8,9 2. Append L2 to L1 3. Insert the word "security" at position 1 of L1. 4. Extend L1 by adding two number: 10, 11. NOTE: Please print the list(s) after every step. Sample Run: [1, 2, 3] [7, 8, 9] [1, 2, 3, [7, 8, 9]] [1, 'security', 2, 3, [7, 8, 9]] [1, 'security', 2, 3, [7, 8, 9, 10, 11]

Step by Step Solution

3.41 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The image contains instructions for writing a Python program that performs a series o... View full answer

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 Programming Questions!