A student is learning Python in the interactive interpreter mode. The student issues the command:
>>> type(True)
What is the data type reported by Python?
- Boolean
- integer
- string
- float
Explanation: A type of True or False is a predefined value of the Boolean data type.
Exam with this question: 1.3.4 Quiz - Python Review
Please login or Register to submit your answer