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 trialIngrid Matthews
1,465 PointsProblem with the workspace
Here's what I typed in my workspace: while True: new_item = ("> ")
if new_item == 'DONE': break
I think it looks exactly like Craig's? And it runs, but it does not break. I'm able to type DONE again and again and again. I notice my console is not printing out the little > signs at the beginning of each line, only the black rectangle. I notice Craig's screen has the black rectangle giving way to a ">" at the beginning of each line..... does this have anything to do with why mine isn't breaking? Maybe a stupid question but I'd be grateful for advice!
1 Answer
Mark Sebeck
Treehouse Moderator 38,004 PointsDid you use input?
Should have something like:
while true:
new_item = input("> ")
if new_item == 'DONE':
break
Make sure you are typing DONE in all caps and have it in all caps in the code. Also make sure your indenting is correct. If you are still having issues cut and paste your code in a comment