I hereby claim:
- I am jameslear314 on github.
- I am jameslear314 (https://keybase.io/jameslear314) on keybase.
- I have a public key ASAtVMYd8scQWt-S4Ra3KXIu6S4kGh7i6-pq0SXexUYCHQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import math | |
def prime_factors(number): | |
'''Prime numbers have exactly one prime factor; | |
Composite numbers have multiple prime factors. | |
Input: any natural number | |
Output: Dictionary with each factor as key; value is each factor's repetition | |
Nonstandard output: None |