In this code the compiler is showing no output but on jupyter i m getting an output

A = int(input())
z = A/2
z = int(z)
s= []
for i in range(z):
if i * i <= A:
s.append(i)
for a in s:
for b in s:
if A <= 1000:
if a + b == A:
print(’(’,a,’,’,b,’)’)
else:
pass