Python sample question with answer 7
Question
:
Which data type can only have a value of True or False?
String
Integer
Float
Boolean
Answer
:
D - is the correct answer. Boolean data is data that can only be one of two values: either True or False