#
Question Text#
Write a function called {{ params_vars_name }}()
that has a parameter named input
, which is a list.
The function should elements from the of input
until the number of the list is not an number.
If the number is not an number, }.
You should not assume the list will only have numbers.
For example, the following code:
input = {{ params.vars.ex_in }}
{{ params_vars_name }}(input)
should return {{ params.vars.ex_out }}
.
Answer Section#
pl-submission-panel#
Attribution#
Problem is licensed under the CC-BY-NC-SA 4.0 license.