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


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

Oops, try again. Your function caused the following error: maximum recursion depth exceeded. I don’t really know what the error means…

I expected it to work because the numbers printed on the editor.


n = [3, 5, 7]

def print_list(x):
    for i in range(0, len(n)):
        print_list(n)
 



#2

@morganw01

Don’t call your function inside of this function when you’re creating a function!