News for hackers. Stuff that matters.
Re:A list of practical projects that anyone can solve in any... by ajuc on Wednesday November 21, 2018 @05:07AM (#18501452)
Wow, this blew my mind. And it's so simple, too.

    def nthHexDigitOfPI(n):
        return 4/(8*n+1) - 2/(8*n+4) - 1/(8*n+5) - 1/(8*n+6)
Re:A list of practical projects that anyone can solve in any... by leni536 on Wednesday November 21, 2018 @05:17AM (#18501492)
What you wrote just returns 0 for a large enough n.
Re:A list of practical projects that anyone can solve in any... by ajuc on Wednesday November 21, 2018 @05:40AM (#18501607)
Serves me right for stopping the reading on the first line :)