Normal Distribution Table by tobiesque

l,k=range(10),.0
print"  Z |",("0.0%d   "*10)[:-3]%tuple(l)+"\n----+"+"-"*70
exec"print k,'|',;exec't=1/(1+k*.2316419);y=1-(((((t/.942147-1.453152)*t)+1.4214137)*t-.284496)*t+.254829)*t/2*2.71828**(-k*k/2);print\"%.4f\"%y,;k+=.01;'*10;print;"*31

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top