The output of a comparison operator is a Boolean value 0 1 Operation Meaning < less than <= less than or equal > greater than >= greater than or equal == equal != not equal is object identity is not negated object identity Exercise Predict the output of the following code a=2 b=3 print(a==b) print(3*" * ") print('a!=b') hello world Exercise \(\PageIndex{1}\) Why did the third print statement not say True, and change the code so it says True Answer The code was a string, not a comparison operation. To make it a comparison operation you need to remove the quotes. Predict the output of the following code a=2 b=3 c=2 print(c is a) print(c is not a) Hello world!