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!
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
What else do I have to do to make this work?
I am pretty sure about the instructions. It won't let me pass so can you tell me if you see something wrong.
import sys start = input("If you want to start the movie press n or N. Press anything else to exit") if start.lower == 'n' print("Enjoy the show!") else: sys.exit()
Daniel BoisselleFront End Web Development Techdegree Student 17,438 Points
I entered this into the prompt and this worked for me:
import sys response = input("If you want to start the movie press n or N. Press anything else to exit") if response == 'n' or response == 'N': sys.exit() else: print("Enjoy the show!")