Analyzing a number is not a prime number

number = int (input ( "Enter a number:")) 
COUNT = 2
the while COUNT <= -1 Number:
IF COUNT == 0% Number: # 1 is in addition to and primes itself can be divisible. This number will start from 2 except, in addition to the number-1, if there is not a prime number divisible, that is, if not a prime number.
print ( "This is not a prime number")
BREAK
COUNT = COUNT +1
the else:
print ( "This is a prime number")

Guess you like

Origin www.cnblogs.com/hadibingjing/p/10929512.html