maths.factors¶
Functions¶
|
Module Contents¶
- maths.factors.factors_of_a_number(num: int) list ¶
>>> factors_of_a_number(1) [1] >>> factors_of_a_number(5) [1, 5] >>> factors_of_a_number(24) [1, 2, 3, 4, 6, 8, 12, 24] >>> factors_of_a_number(-24) []