Paul Rubin <http://phr.cx@NOSPAM.invalid> writes: > c,m = divmod(200000*log(A*T*C*G,10), 1) > print "%.3fe%d"%(m, int(c)) Barf. Left as exercise: fix the error.