Can you use python to solve a quadratic without teaching it the quadratic formula? : <pre><code>def f(x):
    f(x) = x^2 + 2*x + 1 
    for x in range(-100, 100):
        if f(x) == 0:
            print(x)
</code></pre>

<p>Something like this? I get the error "cannot assign to function call" though</p>
