Snippet
def double_elements(inp_list, index):
if index < len(inp_list):
*= 2
inp_list[index] + 1)
double_elements(inp_list, index
= [1, 2, 3, 4, 5]
my_list 0)
double_elements(my_list, print(my_list)
Solution
Image Description
(Coming Soon)