Lists and Functions no 12


#1



https://www.codecademy.com/en/courses/python-beginner-nzzVa/3/1?curriculum_id=4f89dab3d788890003000096


Oops, try again. The body of your function should not contain any references to 'n'


I have no references to n in it


n = [3, 5, 7]

for i in range(0, len(n)):
    print n[i]
def print_list(x):
    for t in x:
        print t
print_list(n)


#2

true, but this code was given to you as scaffold:

for i in range(0, len(n)):
    print n[i]

which the exercise assumes you incorporate in your function, you didn't, which is fine, but then you have to remove it.


#3

Thanks it worked!!! Will give a like.


#4