def S10(Q,W):
    t = [0,0,0,0,0]
    for name in range(W):
        t[0] = 0
        t[1] = (0.1)**(name)
        t[4] = 0
        while t[4] < Q:
            t[2] = t[3]
            t[3] += t[1]
            t[4] = t[3]**2
        t[3] = t[2]
    return t[3]
print(S10(5,14))
    

Embed on website

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