Follow dependent cell updates

A greenhouse program stores seedling counts in a multidimensional array represented by Python lists. It then applies three inventory corrections in the order shown.


Python
counts = [[3, 8, 6], [2, 5, 9]]

counts[0][2] = counts[1][0] + counts[0][1]
counts[1][0] = counts[0][2] + 4
counts[1][2] = counts[1][0] - counts[0][0]


Complete the table with the final counts at the specified locations after all three assignments execute. Enter exact integers.

LocationFinal count (seedlings)
Row 0, column 2
Row 1, column 0
Row 1, column 2

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: