Oscar ChongPro Student 292 Points
What's wrong with my code? pls help
Pls help. Thankssss
time = 15 store_open = None store_hours = [9, 10, 11, 12, 13, 14, 15, 16, 17, 18] if time in store_hours: store_open == True else: store_open == False
Jason AndersTreehouse Moderator 144,810 Points
You're on the right track, but you want to assign the values of
False not compare them to the variable. Remember a single = is an assignment operator but a double == is a comparison operator.
Just fix that up and the rest looks good.
Keep Coding! :)