Numbers: int, float
Table of contents
Description
int
is short for integer, which is a whole number. float
is short for floating-point number, which is a number with a fractional part. There are many operations and methods that can be performed on numbers.
- The Python interpreter will automatically evaluate all expressions.
- The evaluation follows the normal “PEMDAS” order of operations.
- Python Docs: Numeric Types, Operator Precedence
- Python Modules: math, statistics, random