Please help


#1



n = [3, 5, 7]
def print_list(x):
    for i in range(0, len(n)):
        print n[i]
print_list(n)


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


#2

refer to this ...

https://discuss.codecademy.com/t/whats-wrong-with-my-function-printing-out-a-list-item-by-item-in-a-function?source_topic_id=83217

#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.