-1
I’m trying to create a program that calculates the bisection method.
I would like the user to enter the desired equation and the values of a
, b
and tolerance, but I’m not getting the equation input read correctly.
I also don’t know if there’s a library that can read an equation correctly. Also, I created a function to return me a value, but it is returning me something strange:
def funcao_soma(x,y):
soma = x+y
return soma
funcao_soma(1,5)
print("A soma foi {}".format(funcao_soma))
He returns to me:
A soma foi <function funcao_soma at 0x000001BC6E8EFF78>
Instead of the value 6
.
Thanks, it worked out!
– Felipe Roque
I could mark the answer as a solution, please?
– Cleyton Gonçalves