0

CHECK python for beginners lesson 22.1 question no. 5????

WHAT YOU THINK ABOUT IT. Is there any error in answer because technically answer should be false. But it says answer should be true

17th Jan 2022, 7:07 PM
IDIOT KID
IDIOT KID - avatar
6 ответов
+ 2
Please link the code
17th Jan 2022, 7:09 PM
Lisa
Lisa - avatar
+ 2
# There are () missing in your code, it should be print((hour > 12 and day <= 15) or (hour < 10)) # if you run it, you can see it is true as hour is < 10
17th Jan 2022, 7:16 PM
Lisa
Lisa - avatar
+ 2
() is for print()
17th Jan 2022, 7:19 PM
Lisa
Lisa - avatar
+ 1
Oooh how silly I am. Got it dear thanks for help.
17th Jan 2022, 7:21 PM
IDIOT KID
IDIOT KID - avatar
0
It's a question in lesson 22.1 in PYTHON FOR BEGGINERS. But Here is question In code format https://code.sololearn.com/c3Xo9yn44XK3/?ref=app
17th Jan 2022, 7:13 PM
IDIOT KID
IDIOT KID - avatar
0
Got it but there is also not () in that question. Question is as exact I had mentioned in code.
17th Jan 2022, 7:19 PM
IDIOT KID
IDIOT KID - avatar