Working with the set of real numbers

Gregory Ewing greg.ewing at canterbury.ac.nz
Fri Feb 14 00:26:03 EST 2014


Dave Angel wrote:
> Actually, the particular example you use can be done.  When
>  printing the infinite sum of two infinite decimal streams,  you
>  can simply hold back whenever you get one or more nines.

But you only have a finite amount of space for keeping
track of how many nines you've seen, so there will be
some inputs with more nines than you can handle.
(Infinitely many such inputs, in fact!)

-- 
Greg



More information about the Python-list mailing list