Python · While loops

Loop until it's close enough

How many years until savings double, how many bounces until a ball settles: a loop answers by running until the value gets there.