Booleans

True and False are used for testing conditions. Any number which is not 0 evaluates as True.

C:\Users\JohnO>python
Python 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> a = True
>>> print(a)
True
>>>