12. Printing out a list item by item in a function


#1

Hi,
I got an issue code: "Oops, try again. The body of your function should not contain any references to 'n' ". I don't know, why it doesn't work. Can someone help me?

n = [3, 5, 7]

def print_list(x):
__for i in range(0, len(x)):
____print x[i]

print_list(n)


#2

is the above code your full code? It works fine, try refreshing page/different browser


#3

Okay, I tried it with 2 other browsers and now it works. Thank you for supporting


#4