Commit 1c408711 authored by Vadim Mazaev's avatar Vadim Mazaev

fix calc

parent c8dbc2d9
......@@ -23,12 +23,6 @@ $ python calc.py
>>> math.cos(math.pi)
-1.0
>>> print(123)
Traceback (most recent call last):
File "calc.py", line 23, in <module>
run_calc(context)
File "calc.py", line 18, in run_calc
print(eval(expr, context))
File "<string>", line 1, in <module>
NameError: name 'print' is not defined
>>>
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment