Browse Source

Range

pull/3/head
Jure Šorn 6 years ago
parent
commit
667f29a315
1 changed files with 4 additions and 4 deletions
  1. 8
      README.md

8
README.md

@ -185,12 +185,12 @@ def step(start, step):
Type Type
---- ----
```python ```python
type(<el>) # <class 'int'> / <class 'str'> / ... <type> = type(<el>) # <class 'int'> / <class 'str'> / ...
``` ```
```python ```python
import numbers from numbers import Number, Integral, Real, Rational, Complex
isinstance(<el>, numbers.Number) # Integral, Real, Rational, Complex is_number = isinstance(<el>, Number)
callable(<el>) # Is element a function is_function = callable(<el>)
``` ```

|||||||
100:0
Loading…
Cancel
Save