Incorrect instructions / Answers


#1

Python Lists and Functions 14. Passing a range into a function.

The instructions ask the user to update the ____ with a "range() that returns a list containing [3,5,7]. but wants a result total of 9 . 7 + 5 + 3 does not equal 9.


#2

HI first you aren't the lesson Passing a range into a function but your are at Iterating over a list in a function
from your screenshot

Then

here code you begin at the lessson Passing a range into a function

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!

Right?
and here the instruction
On line 6, replace the ____ with a range() that returns a list containing [0, 1, 2].