David Eppstein <eppstein at ics.uci.edu> writes: > Why doesn't this work? > > >>> import math > >>> math.exp(1j*math.pi) > Traceback (most recent call last): [...] > So why not math.exp(complex)? import cmath as math :-) John