horstmann/codecheck-python-FindingElements-4
Platform Name
CodeCheck
Exercise Type
Code Completion
Language
Python
Description
Given a list of integers and a value, return the position of the element that is closest to the value. If there is more than one, return the position of the first one.
Keywords
Lists - Simple Exercises
,
Finding Elements
URL
https://codecheck.io/files/horstmann/codecheck-python-FindingElements-4
Author
Cay Horstmann
Institution
San José State University
Iframe URL
https://codecheck.io/files/horstmann/codecheck-python-FindingElements-4
LTI URL
https://codecheck.io/files/horstmann/codecheck-python-FindingElements-4
LTI Instructions URL
https://horstmann.com/codecheck/lti.html
Preview