Course
Simulator
More
Premium
Log in
Python Function Reference
Functions
bool
bool
Return a Boolean value, i.e. one of True or False.
Python 3.13
bool
(
x
)
Examples
Python 3.13
>>
>
bool
(
0
)
False
Python 3.13
>>
>
bool
(
[
]
)
False