Library / Code module
is_prime from more-itertools
is_prime
is_prime from more-itertools: Return ``True`` if *n* is prime and ``False`` otherwise. One tested Python function, copied with the code it needs.
ATTRIBUTION.md1.5 KBLICENSE1.0 KBREADME.md1.0 KBUPSTREAM-LICENSE1.0 KBmore_itertools_is_prime.py2.7 KBtest_more_itertools_is_prime.py451 bytes
Full files in your harness.
What it takes and gives
- Function
is_prime- Project
- more-itertools
- Module
more_itertools_is_prime.py
Details
- Kind
- Code module
- Licence
- MIT
- Declared effects
- runs commands
- Source
- github.com/more-itertools/more-itertools/more_itertools/recipes.py
- Size
- 6 files, 7.6 KB
- Identity
library.supply.function_extracts.4f675f88ff083984a3bef84e.1429ce5f866f1806- Version
1429ce5f866f18069892973d1fbe218a2548a36e602bda67261556c389a8126a
The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.
Where it is shown
- Numbers, currencies and localesCorner cases
Related components
Something wrong with this item, its rights or its safety? Report it on the support page, or from your harness after a download.