barrysmyth
Feb 28, 2022

--

Well spotted Neal. "tr' should be 'str' to convert the decimal expansion into a string of digits (drop the decimal point).

Re, ax and the use of Matplotlib, I'm using it as the "lowest common denominator" for this 'pseudo-code'. In reality any canvas like structure which one can draw to will suffice.

--

--

barrysmyth
barrysmyth

Written by barrysmyth

Professor of Computer Science at University College Dublin. Focus on AI/ML and data science with applications in e-commerce, media, and health.

No responses yet