Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get prime number python

from num_tool import is_prime
print(is_prime(3))

#returns True because 3 is a prime
Source by pypi.org #
 
PREVIOUS NEXT
Tagged: #prime #number #python
ADD COMMENT
Topic
Name
4+8 =