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.15

Answer

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

Work Step by Step

Step 1: list1 = list(range(1, 10, 2)) Step 2: saving list1 elements into list2: list2 = list1 Step 3: Assigning 111 to index 0 of list1: list1[0] = 111 Step 4: Printing The output 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.