Given the following integers and calculation
from __future__ import division a = 23 b = 45 c = 16 round((a/b)*0.9*c)
This results in:
TypeError: 'int' object is not callable.
How can I round the output to an integer?
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Somewhere else in your code you have something that looks like this:
Then when you write
that is interpreted as meaning a function call on the object bound to
round, which is an
int. And that fails.
The problem is whatever code binds an
intto the name
round. Find that and remove it.