0
Type error in python 3
For i in range(int(input)): X,y = map(int,input().split()) A = max(x,y) B = min(x,y) N = x+y Print (n+(n(n+1)/2)-((a-b)(a-b+1)/2)) 1 1 2 Ans should b. 8 But i am getting a type error Int not callable
2 Réponses
0
Thannks
For i in range(int(input)): X,y = map(int,input().split()) A = max(x,y) B = min(x,y) N = x+y Print (n+(n(n+1)/2)-((a-b)(a-b+1)/2)) 1 1 2 Ans should b. 8 But i am getting a type error Int not callable