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 trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Jerad Millay](https://secure.gravatar.com/avatar/d61a68b47525da7ea3de91f8878dee1d?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Jerad Millay
14,396 PointsToubleshooting 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()
1 Answer
![AJ Salmon](https://uploads.teamtreehouse.com/production/profile-photos/8902242/micro_19264570_10211770263364879_3258299884038210493_o.jpg)
AJ Salmon
5,675 PointsHey Jared,
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!
Jerad Millay
14,396 PointsJerad Millay
14,396 Points...wow...thank you AJ! seems to be this simplicity and over-complications that are throwing me snags learning this. Appreciate your feedback.
AJ Salmon
5,675 PointsAJ Salmon
5,675 PointsMy pleasure! Sometimes it's easy to mix up exactly what the challenge is asking for. If you were writing a complete program, it would actually be ideal to write a
start_movie
function, so you could call it later. You totally had the right idea :) You just had a little more than you needed. Happy coding!!!