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 trialSteven Reich
395 Pointswhich code editor would the shopping_list.py file be run in, I have been using python shell and sublime text 2?
I ran it on both and got error messageshopping_list = []
print("What should we pick up at the store?") print("Enter 'DONE' to stop adding items. ") while True: new_item = input("> ")
shopping_list.append(new_item)
print("Here's your list:") for item in shopping_list: print(item)
1 Answer
Felipe Lozano
2,316 PointsI use the program "Wing IDE", and it ran the script perfectly. Hope it helps
jacinator
11,936 Pointsjacinator
11,936 PointsWhat error is being raised?