Title Updating Two-Dimensional List (Case 3)
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_list2d_basic&ch=py_list2d_basic3
Platform Name PCEX
Features
Description Construct a program that initializes a 2x4 two-dimensional matrix that has multiples of 10 from 10 to 80 for entries, updates the last row to a list holding values 1,3,5,7, then sets the second element of the first row to be 8, and finally prints the matrix.
Keywords 2d 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_basic3
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview