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
Toubleshooting objective anser
Obviously doing something wrong, cannot figure out what or why? Thanks in advance.
import sys def start_movie(): answer = input("Would you like to start the movie? ").lower() if answer != 'n': print("Enjoy the show!") else: sys.exit()
AJ Salmon5,675 Points
Your function works perfectly, but this challenge isn't asking for you to write a function! You just need to delete line 3 and move lines 4-8 out of the
start_movie function (un-indent a step). Hope this helps!