#Exercise 2.19 from A primer... from math import sqrt for n in range(1, 60): r = 2.0 for i in range(n): r = sqrt(r) for i in range(n): r = r**2 print(f'{n} times sqrt and **2: {r}') """ Teriminal> python repeated_sqrt.py 1 times sqrt and **2: 2.0000000000000004 2 times sqrt and **2: 1.9999999999999996 3 times sqrt and **2: 1.9999999999999996 ... 56 times sqrt and **2: 1.0 57 times sqrt and **2: 1.0 58 times sqrt and **2: 1.0 59 times sqrt and **2: 1.0 """