Help with the code

its not working on this platform

Can you please share your code by saving it at the given below link and sharing that saved link with me here .

n = int(input())
d=2
flag = False
while d < n:
if n % d==0:
flag = True
d=d+1
if flag:
print(‘Not Prime’)
else:
print(‘Prime’)

Your code is working , just select the language as python 2.7 and submit it .

still not working . what to do now?

I’ve submitted the given below code and it has passed all the submissions in python 2.7 .

now done … i have to perform all the questions on python 2.7 ?

No you dont . But for the moment there seems to be some problem with python 3 . So if python 3 fails for your code then try submitting it in 2.7