Python sample question with answer 7

Question:
Which data type can only have a value of True or False?

  1. String
  2. Integer
  3. Float
  4. Boolean
Answer:
D - is the correct answer. Boolean data is data that can only be one of two values: either True or False