Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 7 Online
OpenStudy (anonymous):

"TypeError: 'int' object is not callable" how can i fix this

OpenStudy (anonymous):

Can you include your code? Likely, you're trying to execute the integer as a function. For instance, if you go to the python interpreter and type 7() You receive : Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'int' object is not callable You can read about all different Python data types here : https://docs.python.org/2/reference/datamodel.html?highlight=callable

OpenStudy (anonymous):

You can fix it by not calling it. If you want to pastebin your code and it would be much easier to understand why there is an error

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!