Gottfried Sequence by hallvabo

a=[(-1)**i/(2*i+1.)for i in range(1e5)]
exec'print("%.15f"%sum(a[:input()])).rstrip("0");'*input()

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

download

return top