When comparing two numbers in Boolean, complete this code:

a = 12

b = 8
(1 point)
Responses

a == b is true
a == b is true

a = b is false
a = b is false

a = b is true
a = b is true

a == b is false

1 answer

To compare the two numbers a and b using Boolean expressions in Python, let's analyze the values:

a = 12
b = 8

To complete the code correctly, we can use the comparison operator == to check if a is equal to b. Since 12 is not equal to 8, the expression a == b will evaluate to false.

Thus, the correct completion of the code is:

a == b is false

So the complete answer is:

a == b is false