diff --git a/guide/english/python/numeric-types/index.md b/guide/english/python/numeric-types/index.md index 8a090d46c5..8d8db16c5c 100644 --- a/guide/english/python/numeric-types/index.md +++ b/guide/english/python/numeric-types/index.md @@ -12,7 +12,7 @@ print(100) print(8435367) ``` * floating point numbers (`float`) - * constructor + #### Examples: ```py @@ -21,11 +21,21 @@ print(46.84) print(84357.435) ``` * complex numbers - * constructor + +#### Examples: +```python +print(3 + 4j) +print(5 + 6j) +print(2j + 1) +``` The standard library adds numeric types for * fractions * decimals Numeric objects are created from literals or as the result of functions and operators. The syntax for numeric literals is well documented. + +### Other Resources +* floating point +* complex