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)
![Sean Frye](https://secure.gravatar.com/avatar/7f970593db0cd8494998629941465199?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Sean Frye
1,167 PointsShoot! I thought this was what I was supposed to do.
Well I'm back asking for help again. I gotta get this down and stop needing help or else I'm not going to be hire-able in the field of coding. I feel like I got it down, but I clearly don't. I feel like I understand what these commands are supposed to do, but even though I feel certain about it, I'm doing them wrong thus far. It really doesn't look hard, but I keep getting stumped anyways. I'm having difficulty figuring out what exactly I am supposed to do because I feel like I am getting this down, but apparently not.
time = 15
store_open = None
store_hours = [9, 10, 11, 12, 13, 14, 15, 16, 17, 18]
if time in store_hours = 15:
store_open = True
1 Answer
![Alexander Davison](https://uploads.teamtreehouse.com/production/profile-photos/4157542/micro_binary.jpg)
Alexander Davison
65,469 Points- Why do you have
= 15
at the end of the 5th line of code? - Did you assign
store_open
toFalse
if the time isn't in thestore_hours
?
Happy coding! ~Alex
Sean Frye
1,167 PointsSean Frye
1,167 PointsHm. It looks like I have a lot of work to do to fix this.
Sean Frye
1,167 PointsSean Frye
1,167 PointsI finally got it right. I had to be rewatching the video while working on the quiz.
Alexander Davison
65,469 PointsAlexander Davison
65,469 Points