Title Given a list of integers and an integer n, remove all elementts > n or < -n.
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-python-MovingorRemovingElements-1
Platform Name CodeCheck
Features Code Completion
Description Given a list of integers and an integer n, remove all elementts > n or < -n. Shift all remaining elements to the front, and return the number of removed elements.
Keywords
,
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-python-MovingorRemovingElements-1
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