I was trying to solve this problem here :- https://www.spoj.pl/problems/PHIVAL/
The questions asks you to output as many decimal digits of the golden ratio (1+sqrt(5))/2 as possible and also try to minimise the code length.
This is what I have right now. Can this code be made any shorter ?
from decimal import *
getcontext().prec=7050
print(1+Decimal(5).sqrt())/2
echo curl mysite.com\phi
:-) – Serpasil