Missing statement, probably * :
-3.7 need_something_here (prof[x])
โNot calledโ arises because the bracket โ and the lack of a statement that would switch the bracket to priority operators โ makes Python try to call the result -3.7 (float) as a function that is not allowed.
In this case, the brackets are also not needed, the following may be sufficient / correct:
-3.7 * prof[x]
As Legolas points out, there are other things that may need to be addressed:
2.25 * (1 - math.pow(math.e, (-3.7(prof[x])/2.25))) * (math.e, (0/2.25))) ^-- op missing extra parenthesis --^ valid but questionable float*tuple --^ expression yields 0.0 always --^
user166390
source share