import math num = 1 for i in range(2, 100): num = math.sqrt(num + 1) print(f'{i} sum square root is {num}')