MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / PrimeCheck.py

File PrimeCheck.py

maths/PrimeCheck.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import math
2def primeCheck(number):
3 if number % 2 == 0 and number > 2:
4 return False

Callers

nothing calls this directly

Calls 1

mainFunction · 0.70

Tested by

no test coverage detected