horstmann/codecheck-python-2DArraysNoLoops-7

Platform Name CodeCheck
Exercise Type Code Completion
Language Python
Description Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element itself). A neighbor is any neighbor in the compass direction N E S W NE NW SE SW.
Keywords
,
URL https://codecheck.io/files/horstmann/codecheck-python-2DArraysNoLoops-7
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-python-2DArraysNoLoops-7
LTI URL https://codecheck.io/files/horstmann/codecheck-python-2DArraysNoLoops-7
LTI Instructions URL https://horstmann.com/codecheck/lti.html

Preview