Below code gives different o/p in python 2 and python 3
def add(x,y):
try:
sum = x + y
except:
(“Error in Processing”)
return sum
x = input("Enter first number: ")
y = input("Enter second number: ")
sum = add (x,y)
print(sum)
python 2 : 33 python 3 : 1122
Any ideas???