When you type abs(-100+200)/2,
------------------------------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-90-41fe9b40b102>in<module>()
---->1abs(-100+200)/2
TypeError: 'int' object is not callable
he said.
I want to calculate the absolute value normally, but I can't.
I'm a beginner, so I may have overlooked something, but I can't solve it no matter how many times I try.
Didn't you define a variable called abs in front of that code?
Rename the variable if you have defined it
© 2023 OneMinuteCode. All rights reserved.