following is my code for telling prime/not prime
n=int(input())
tag=True
if n==0 or n==1:
tag=False
else:
for i in range(2,n):
if n%i==0:
tag=False
break
if tag:
print(‘prime’)
else:
print(‘not prime’)
following is the erroe given by coding blocks compiler:
Traceback (most recent call last):
File “source”, line 1, in
n=int(input())
EOFError: EOF when reading a line
