Platform Name
CodeCheck
Exercise Type
Code Completion
Language
Python
Description
Given a list of integers and a value, return the difference between the last and first position of the value in the list, or -1 if the value does not exist.
Keywords
Lists - Simple Exercises
,
Finding Elements
URL
https://codecheck.io/files/horstmann/codecheck-python-FindingElements-2
Author
Cay Horstmann
Institution
San José State University
Iframe URL
https://codecheck.io/files/horstmann/codecheck-python-FindingElements-2
LTI URL
https://codecheck.io/files/horstmann/codecheck-python-FindingElements-2
LTI Instructions URL
https://horstmann.com/codecheck/lti.html