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 -- https://mail.python.org/mailman/listinfo/python-list