We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 153f79e commit 994a62cCopy full SHA for 994a62c
README.md
@@ -1325,7 +1325,9 @@ ValueError: malformed node or string
1325
import ast
1326
from ast import Num, BinOp, UnaryOp
1327
import operator as op
1328
+```
1329
1330
+```python
1331
legal_operators = {ast.Add: op.add,
1332
ast.Sub: op.sub,
1333
ast.Mult: op.mul,
@@ -1712,7 +1714,7 @@ import numpy as np
1712
1714
```python
1713
1715
<array> = np.array(<list>)
1716
<array> = np.arange(from_inclusive, to_exclusive, step_size)
-<array> = np.ones(<shape>) # Shape is a tuple of dimension sizes.
1717
+<array> = np.ones(<shape>) # Shape is a tuple of dimension sizes.
1718
<array> = np.random.randint(from_inclusive, to_exclusive, <shape>)
1719
```
1720
0 commit comments