for x in range(10): n=int(input()) i=int(input()) print(int((n+i)/2)) print(int((n-i)/2))
what wrong in this code for python 3+...while working correct if replace input by raw_input() for python 2.5+
In Py3k, use // to divide with intgral result, not / wich give a float.You should remove your code after that.
thanxx