# This program is part of a collection of animations and demonstrations intended to # prompt students to ask themselves more or less mathematical questions. This program # prints a sequence of numbers of the form 10 - 10/n for n = 1, 2, 3, ..., in hopes of # prompting questions related to limits, e.g., "will the numbers keep increasing," "is # there some maximum they stay below," etc. from time import sleep n = 1 while True : print( 10.0 - 1.0 / n, end = "\r" ) n += 1 sleep( 1.0 )