I could not understand the concept of range function and i feel confusing with index,whether it starts with 0 or starts with 1. So. couldnot move further. I request friends to help me and also clear the doubt of how range function works. The task given in the exercise is to
On line 6, replace the ____ with a range() that returns a list containing [0, 1, 2].
I am not sure whether i missed out to give the list x in the program
def my_function(x): for i in range(0, len(x)): x[i] = x[i] * 2 return x print my_function( )) # Add your range between the parentheses!