DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+2 =
Submit