🔵 🔵 🔵


Primary

၊၊||၊|။

bool() ⚬ᵖʸ|Documentation|1st|20251021155228-00-⌔

Built-in Functions — Python 3 documentation#bool

class bool(object=False,/)

Return a Boolean value, i.e. one of True or False. The argument is converted using the standard truth testing procedure. If the argument is false or omitted, this returns False; otherwise, it returns True. The bool class is a subclass of int (see Numeric Types — int, float, complex). It cannot be subclassed further. Its only instances are False and True (see Boolean Type - bool).

Changed in version 3.7: The parameter is now positional-only.

Printed 2026-06-28.

(echo:: @ )

Link to original

Secondary

• • •