diff --git a/README.md b/README.md index 4233d60..4fd3d05 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,7 @@ from_inclusive = .start to_exclusive = .stop ``` + Enumerate --------- ```python @@ -180,6 +181,7 @@ def step(start, step): yield start start += step ``` + ```python >>> stepper = step(10, 2) >>> next(stepper), next(stepper), next(stepper) @@ -192,6 +194,7 @@ Type ```python = type() # / / ... ``` + ```python from numbers import Number, Integral, Real, Rational, Complex is_number = isinstance(, Number)