Track shared rows after copying

A Python game represents a board as a multidimensional array using lists. The following code saves a copy, changes one cell, and replaces one row. Which statements are true after all statements execute? Select all that apply.


Python
board = [[4, 7], [6, 2]]
saved = board.copy()

board[0][1] = 15
board[1] = [8, 12]
Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Nested Lists Questions: