import numpy x = numpy.array([1, 2, 3]) print(numpy.exp(x))
Standard input is empty
[ 2.71828183 7.3890561 20.08553692]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!