this is my code:
N=int(input())
for n in range(N):
A=int(input())
for b in range(0,A+1):
for a in range(b):
if((a2)+(b2)==A):
print((a,b),end="")
print("\r")
and is running fine on anaconda but showing wrong answer here. where am i going wrong?