Python is a great tool. One of the best things about it, as anyone who’s used it will tell you, is the vast collection of useful libraries.
The mathematics libraries include a bewildering array of functions, but they were missing two important ones: the Champernowne constant, and the Copeland-Erdős constant. So I did my bit for the community and wrote two modules to output these numbers to any desired digit.
The modules are included in a package called idmaths, which is available on Github.
Here’s some sample code.