t=int(input(“enter no of test case” +"\n"))
for i in range(1,t+1):
m= int(input(“Enter m” +’\n’))
n=int(input(‘Enter n’ +’\n’))
for x in range(m,n+1):
k=0
for y in range(1,x+1):
if(x%y==0):
k+=1
if(k==2):
print(x)
I am getting NZEC however when I tried it in pycharm it was giving the required output.
Can anyone help me ith NZEC
Thank You