# This program is part of a set of animations and demonstrations intended to get
# students to pose vaguely mathematical questions. This particular program alternates
# between displaying one of two words ("Yes" and "No"), leaving each word visible for
# longer and longer times. The hope is that this will get students to ask questions
# related to rates, limits, functions, etc., e.g., "is it going to keep slowing down,"
# "how long will the word stay there this time," "is it ever going to stop," etc.

from time import sleep

t = 1

while True :

	if t % 2 == 0 :
		word = "Yes"
	else :
		word = "No "
	print( word, end="\r" )
	
	sleep( t**2 / 200 )
	t += 1