My issue
pls explain this problem
My code
n = int(input())
isPrime = True # Assume n is prime
i = 2
while i < n:
# Update your code below this line
n%i==0
isprime=False
break
i=i+1
if isPrime:
print('Yes')
else:
print('No')
Learning course: CEMP: Programming in Python
Problem Link: Coding problem - 4 in CEMP: Programming in Python