From ddeb580c111d1e6747b4ecd367752d65be608cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 13 Dec 2019 03:42:13 +0100 Subject: [PATCH] Numbers --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6cfd031..4ba1b01 100644 --- a/README.md +++ b/README.md @@ -485,7 +485,7 @@ Numbers ```python = int() # Or: math.floor() = float() # Or: - = complex(real=0, imag=0) # Or: + j + = complex(real=0, imag=0) # Or: ± j = fractions.Fraction(numerator=0, denominator=1) = decimal.Decimal() ``` diff --git a/index.html b/index.html index 1ed4f36..fc014aa 100644 --- a/index.html +++ b/index.html @@ -564,7 +564,7 @@ to_exclusive = <range>.stop

#Numbers

Types

<int>      = int(<float/str/bool>)    # Or: math.floor(<float>)
 <float>    = float(<int/str/bool>)    # Or: <real>e±<int>
-<complex>  = complex(real=0, imag=0)  # Or: <real> + <real>j
+<complex>  = complex(real=0, imag=0)  # Or: <real> ± <real>j
 <Fraction> = fractions.Fraction(numerator=0, denominator=1)
 <Decimal>  = decimal.Decimal(<str/int/float>)