Home
Activities
Resources
CONTACT US
🔊
Use the code snippet below to answer the question.
derek_color =
'cream'
wagner_color =
'black'
josie_color =
'cream'
🔊
AND Operator
🔊
Simply ask "are both of these true?"
(derek_color ==
'cream'
)
and
(josie_color ==
'cream'
) =
?
True
False
🔊
Choose an answer above!
Back
Help me
🔊
For the and operator, all values must be True.
🔊
Simply ask "are all of these True"?
🔊
True and True = True. True and False = False
🔊
2 < 5 and 3 < 5 = True
🔊
5 == 4 and 5 == 5 = False
Next
Help for Variables
Close modal
The correct answer(s) is:
Option 1. Make sure to read the explanation!
Close help