Run the decision gates
Exercise and reference answers
- Questions
- Correct
- and
- Choices
- and
- or
- not
- Correct
- or
- Choices
- and
- or
- not
- Correct
- not
- Choices
- and
- or
- not
- Correct
- 7
- Choices
- 7
- 9
- 5
- Correct
- 9
- Choices
- 7
- 9
- 5
- Correct
- elif
- Choices
- if
- elif
- else
- Instructions
- Pick the operator or value that fits at every gate.
Explanation
_Source: OpenStax Introduction to Python Programming, Chapter 4._