filmov
tv
Python Quiz 33 #learningpython #pythonoperators #python

Показать описание
In Python,
Which expression checks if a door is unlocked and the alarm is not active
a. not (door_locked and not alarm_active)
b. door_locked or not alarm_active
c. not door_locked and not alarm_active
Logical Operators #pythonoperators #learningpython #python
Which expression checks if a door is unlocked and the alarm is not active
a. not (door_locked and not alarm_active)
b. door_locked or not alarm_active
c. not door_locked and not alarm_active
Logical Operators #pythonoperators #learningpython #python