A quiz app stores whether a player passed. The data type it should use is:
- bool
- list
- dict
- file
Show answer and solution
Correct answer: A. bool
1. The answer is only yes or no.
2. One data type holds exactly two values.
3. That type is bool.
_Source: OpenStax Introduction to Python Programming, Chapter 4._