Skip to content

Commit 994a62c

Browse files
committed
Eval
1 parent 153f79e commit 994a62c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,9 @@ ValueError: malformed node or string
13251325
import ast
13261326
from ast import Num, BinOp, UnaryOp
13271327
import operator as op
1328+
```
13281329

1330+
```python
13291331
legal_operators = {ast.Add: op.add,
13301332
ast.Sub: op.sub,
13311333
ast.Mult: op.mul,
@@ -1712,7 +1714,7 @@ import numpy as np
17121714
```python
17131715
<array> = np.array(<list>)
17141716
<array> = np.arange(from_inclusive, to_exclusive, step_size)
1715-
<array> = np.ones(<shape>) # Shape is a tuple of dimension sizes.
1717+
<array> = np.ones(<shape>) # Shape is a tuple of dimension sizes.
17161718
<array> = np.random.randint(from_inclusive, to_exclusive, <shape>)
17171719
```
17181720

0 commit comments

Comments
 (0)