print('Hello world!')

def square(B,C):
    k=1
    p=1
    for _ in range(B):
        while (C(k)) > k:
            k -= p
        p *= 0.1
        while (C(k)) < k:
            k += p
        p *= 0.1
    return k
print(square(5,(lambda x:((x**3)-(x**2)))))

Embed on website

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