Title Updating Two-Dimensional List (Case 2)
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_list2d_basic&ch=py_list2d_basic2
Platform Name PCEX
Features
Description Construct a program that initializes a 3x3 two-dimensional matrix that has the numbers 1 through 9 for entries, updates the middle row to a list filled with 1s, then sets the top-right element of the matrix to be 10, and finally prints the matrix.
Keywords 2d list, list, value vs reference
Author Kamil Akhuseyinoglu
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_list2d_basic&ch=py_list2d_basic2
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview