#WAP to accept a number from user and check if it's prime

def CheckPrime(inputNum):
	maxRange = int(inputNum / 2)
	for denominator in range(3, maxRange, 2):
		result = int(inputNum % denominator)
		print (result)
		if result == 0:
			return False
	else:
		return True

def main():
	inputNum = eval(input('Please enter a number: '))
	
	if CheckPrime(inputNum):
		print ('Number is prime')
	else:
		print ('Number is not prime')

if __name__ == '__main__':
	main()
6875306c3c5d2d7f181b40557ed7242e875c593d
<mask token>

<mask token>


def main():
    inputNum = eval(input('Please enter a number: '))
    if CheckPrime(inputNum):
        print('Number is prime')
    else:
        print('Number is not prime')


<mask token>

def CheckPrime(inputNum):
    maxRange = int(inputNum / 2)
    for denominator in range(3, maxRange, 2):
        result = int(inputNum % denominator)
        print(result)
        if result == 0:
            return False
    else:
        return True


def main():
    inputNum = eval(input('Please enter a number: '))
    if CheckPrime(inputNum):
        print('Number is prime')
    else:
        print('Number is not prime')


<mask token>

def CheckPrime(inputNum):
    maxRange = int(inputNum / 2)
    for denominator in range(3, maxRange, 2):
        result = int(inputNum % denominator)
        print(result)
        if result == 0:
            return False
    else:
        return True


def main():
    inputNum = eval(input('Please enter a number: '))
    if CheckPrime(inputNum):
        print('Number is prime')
    else:
        print('Number is not prime')


if __name__ == '__main__':
    main()

#WAP to accept a number from user and check if it's prime

def CheckPrime(inputNum):
	maxRange = int(inputNum / 2)
	for denominator in range(3, maxRange, 2):
		result = int(inputNum % denominator)
		print (result)
		if result == 0:
			return False
	else:
		return True

def main():
	inputNum = eval(input('Please enter a number: '))
	
	if CheckPrime(inputNum):
		print ('Number is prime')
	else:
		print ('Number is not prime')

if __name__ == '__main__':
	main()