the question is: On line 6, replace the ____ with a range() that returns a list containing [0, 1, 2].
the code is :
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!
My code is:range(0,2,0.5),but it says it's wrong...
rangethat should return[0, 1, 2], then the call tomy_functionshould return[0, 2, 4].