Can someone help me to figure out what I do wrong | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can someone help me to figure out what I do wrong

I want to do this problem with opening and closing hours of a store, when I enter the input 11,1 it said close and its suppose to say open, but I don’t know what I have wrong. Can someone help me please https://code.sololearn.com/cMn4Xx84eAc4/?ref=app

12th Oct 2020, 3:54 PM
Alejandra b
Alejandra b - avatar
1 Answer
+ 6
You need to use "in" operator to check if the value entered is in tuple Store_hours and Store_day instead of ==
12th Oct 2020, 3:58 PM
Abhay
Abhay - avatar