Newbie simple question - can't find answer
Jere Kahanpaa
jkahanpa at pcu.helsinki.fi.invalid
Tue Jan 11 10:43:54 EST 2000
Hi.
eleisonme at juno.com wrote:
: Hello all,
: I am using Python 1.5.2-7 on intel Red Hat Linux 6.1.
: I do not seem to be able to use any of the math or cmath functions
: either in a script or on the python command line.
: For example if I type:
:>>>import math
:>>>exp (4)
Try
>>>import math
>>>math.exp(4)
OR
>>>from math import exp
>>>exp(4)
Happy hacking
Jere Kahanpää
More information about the Python-list
mailing list