Introduction to Programming using Python 1st Edition

Published by Pearson
ISBN 10: 0132747189
ISBN 13: 978-0-13274-718-9

Chapter 10 - Lists - Section 10.6 - Copying Lists - Check Point - MyProgrammingLab - Page 331: 10.16

Answer

[111, 3, 5, 7, 9] [1, 3, 5, 7, 9]

Work Step by Step

Step 1: Storing the range of elements in List1 list1 = list(range(1, 10, 2)) Step 2: list2 = [ ] + list1 Step 3: Storing 111 at list[0] index list1[0] = 111 Step 4: Printing the output on screen print(list1) print(list2)
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.