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'
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
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.