demo_type_bool2.py:
x = bool(5) #display x: print(x) #display the data type of x: print(type(x))
C:\Users\My Name>python demo_type_bool2.py
True
<class 'bool'>