Multiple choice

In Python, what data type do comparisons generate?

  1. Integers

  2. Floats

  3. Numbers

  4. Booleans

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Comparison operators in Python (like ==, !=, <, >) evaluate the relationship between values and return a boolean result, which is either True or False.