Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Python Basics (Retired) Putting the "Fun" Back in "Function" Shopping List Redux

What's wrong whit this?

if len(shopping_list) == 0:   
  print("You dind't add anything to your list."
else:
  print_list()

hmm i cant see why i cant print my else statment... can anyone help???

2 Answers

Looks like you're missing a closing parenthesis on your first print statement.

Lol yea.. feel stupid now but thanks for the help xD

Don't feel stupid, happens all the time. :)