To Documents

Constants, Datatypes, and Variables

Constants

Python uses four types of constants: integer, floating point, string, and boolean.

  1. Integer
    1. Python integers are positive, negative, or zero numbers that do not have a fractional part:
      34  643938  -21  -38472874  0
      
    2. Python integers have an unlimited range.
  2. Floating Point
  3. String
  4. Boolean   Python datatype bool

Datatypes

Variables

The Assignment Operator