In Python, ()
is regarded as function operator
.. So, if you add parenthesis to any word in Python, it becomes a function call (Well, there are some exceptions though, but that is not the concern here) ..
So, if you do this: -(2)(5)
, you are not multiplying 2 and 5, rather you are trying to invoke a function 2
which does not exists with argument 5
..
So, add a *
in between these parenthesis to make it (2)*(5)