In [1]:
a = 8
b = 15

Adder: a + b

with env


In [2]:
c = a + b

In [6]:
print "INPUTS (a,b):", (a,b)
print "RESULTS: ", c


INPUTS (a,b): (8, 15)
RESULTS:  23

In [1]:
%matplotlib inline
import matplotlib as mpl
from matplotlib.pyplot import *

plot(a,0.5*b,'rx')
plot(a,b,'rx')
plot(2*a,1.5*b,'rx')
plot(3*a,2.5*b,'rx')

show()


---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-c33405f9144c> in <module>()
----> 1 import matplotlib as mpl
      2 from pyplot import *
      3 plot(a,b,'rx')

ImportError: No module named matplotlib
{"inputs": {"a": "int", "b": "int"}, "pkgs": ["matplotlib", "flask", "scipy"]}