Python Constants - ashish9342/FreeCodeCamp GitHub Wiki

Python Built in Constants

Constants

Three commonly used built-in constants:

  • True: The true value of the bool type.
  • False: The false value of the bool type.
  • None : The sole value of the type NoneType. None is frequently used to represent the absence of a value, as when default arguments are not passed to a function.

Previous

⚠️ **GitHub.com Fallback** ⚠️