import numpy as np
import numpy.random as rd
def suite_u(n):
    u=1
    for k in range (n):
        u=u+(1/u)
    return u
print(suite_u(5)) 

    

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: