fork download
  1. # your code goes here
  2. from math import sin
  3. f = lambda x:((2.72**(x*1j)-2.72**(-x*1j))/2j).real
  4. print abs(round(f(6.28), 2) - round(sin(6.28),2))
Success #stdin #stdout 0.01s 7852KB
stdin
Standard input is empty
stdout
0.0