Vidyalelo
Python · Q29

MCQs for Python Data Types and Numeric Types Chapter

Programming · Python · question 29

Q29

What is the data type of the result of "True" ?

A.
boolean
B.
str
Answer
C.
bool
D.
int

Answer: Option B

Solution

Answer: Option B
Solution:
The result of "True" is a string, not a boolean.