The same birthday by teebee

for(n=p=1;n<100;print("n="+n+", p="+(1-p).toFixed(8)))p*=1-n++/365

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

download

return to the top page