#

Question Text#

Create a function named {{ params_vars_name }} which has three parameters named lst, start, and end; these variables will be a list, an integer and an integer respectively. The function should return a list where all elements in lst with an index between start and end (inclusive) have been .

You do not need to validate the type or contents of any parameters, but the parameter names must be exact.

For example, the following code:

lst = [4, 8 , 15, 16, 23, 42]
{{ params_vars_name }}(lst, start=1, end=3)

should return [{{ params_vars_example }}] because elements at indices 1, 2, and 3 have been .

Answer Section#

pl-submission-panel#

Attribution#

Problem is licensed under the CC-BY-NC-SA 4.0 license.
The Creative Commons 4.0 license requiring attribution-BY, non-commercial-NC, and share-alike-SA license.