<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
I passed this lesson but it didn’t follow the required task.
<What do you expect to happen instead?>
When I put range(3) in the empty my_function at line 6, the console returned [0, 2, 4].
However, if you check the lesson, the instructions say to return [0, 1, 2]; so what I’m confused about is whether this is a bug or some other reason that led me to pass this exercise not as intended.
Replace this line with your code.
For further reference, here is my code:
for i in range(0, len(x)):
x[i] = x[i] * 2
print my_function(range(3)) # Add your range between the parentheses!
<do not remove the three backticks above>