Title Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or the average of the two or four middle elements of one or both is even.
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-python-2DArraysNoLoops-2
Platform Name CodeCheck
Features Code Completion
Description Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or the average of the two or four middle elements of one or both is even.
Keywords
,
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-python-2DArraysNoLoops-2
Protocol SPLICE, LTI 1.1
Protocol URL
License https://creativecommons.org/licenses/by-nc-nd/4.0/
Programming Language Python
Natural Language en

Preview

SPLICE Output