use of boolean in python code example
Example 1: Python Booleans
print(10 > 9)
print(10 == 9)
print(10 < 9)
Example 2: Which of the following is a Boolean in Python?
>>> type(True)
<class 'bool'>
>>> type(true)
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
NameError: name 'true' is not defined