So yea... I don't understand, therefore I can't complete this exercise
And HUZZA... I'm frustrated.
But seriously help me PLEASE
The error message are these:
Traceback (most recent call last): File "python", line 6, in <module> TypeError: range() integer end argument expected, got list.
Help me please...
Here is the SECOND error message
| | | V
Oops, try again. Your code looks a bit off. Check the Hint if you need help! Your code threw the following error: range() integer end argument expected, got list.
And here is my CODE (and it sucks):
def my_function(x): for i in range(0, len(x)): x[i] = x[i] * 2 return x print my_function(range([0, 1, 2]))
Yea... I SUCK at this
And I've made a LOT of conversations on helping me get my code right... i hope that's okay