Lists and Functions Question!


#1


#2

You are asking this question because you don't understand why the error is being produced, right?

Well, read the error carefully:

It looks like you either didn't call print_list(n) or there is something wrong because 3 wasn't printed.

Now look at your code for a moment.

Can you see what's wrong?