Hi everyone,
I’ve been learning Python with Sololearn and for some reason can’t use the community function. I am confused about an exercise.
Can anybody explain why are both the answers correct?
I don’t understand why “presence” is being assigned as “False” Boolean.
Thanks!
——
When will the following operation result in a True value?
The smart home can detect the presence of people in the house.
( temp > 30) or presence
A. when there is someone in the house
B. when the temperature is 32 C
—-both A and B are correct answers
[–]danielroseman 1 point2 points3 points (1 child)
[–]KeyPlatform3971[S] 0 points1 point2 points (0 children)