def pchecker(n):
i=2
while i<n:
if n/i==n//i:
x=0
break
if x==0:
print("composite")
else:
print("prime")
a=int(input("enter the no. to be checked"))
pchecker(a)
this is my code but it shows error
G:\python>python prime.py
File "prime.py", line 3
while i<n:
^
TabError: inconsistent use of tabs and spaces in indentation
i have never used tabs anywhere i put 4 spaces everywhere for indentation.i write my code in notepad++