get boolean value python code example Example: Python Booleans print(10 > 9) print(10 == 9) print(10 < 9)