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 trialChris Yates
Courses Plus Student 577 PointsNot accepting my answer. This is right though or at least it works in the shell...
I can't figure out what is wrong here. Any help?
import sys
while True:
watch = input("Do you want to start the movie?: ").lower()
if watch != "n":
print("Enjoy the show!")
break
else:
sys.exit()
1 Answer
sepehr akbarzadeh
Python Web Development Techdegree Student 1,762 PointsPlease, give me more information about your problem. This code works truly
Chris Yates
Courses Plus Student 577 PointsChris Yates
Courses Plus Student 577 PointsI actually solved it right after I posted. It didn't want a loop, even though it was following a massive section on loops. Thanks for the quick response.