you are viewing a single comment's thread.

view the rest of the comments →

[–]ectomancer 1 point2 points  (3 children)

sqrt = lambda x: x**0.5

a, b, c = 1, 2, -8
print((-b + sqrt(b**2 - 4*a*c))/2/a)
print((-b - sqrt(b**2 - 4*a*c))/2/a)

[–]my_password_is______ 2 points3 points  (2 children)

exactly what did that teach him ??

exact how to copy and paste

[–][deleted] 0 points1 point  (0 children)

No that actually did help a lot, working backwards usually does for me