I am taking a integer input from a function and the operation such as "+10" from the user and printing the result after computation. So far i have this
def Eval(arg1, arg2):
if (arg1 >= 100):
arg1 == 100
else:
arg1 = eval((arg1)(arg2))
print arg1
Eval(10,'+10')
But I have TypeError: 'int' object is not callable error
. Can someone tell me where i am doing wrong?