Anonymous user
Practical numbers: Difference between revisions
m
→{{Header|Python}}: Slightly.
m (→{{Header|Python}}: Slightly.) |
|||
Line 187:
the sets. 720, another Practical number needs just 0.01% of its half a billion sets to prove it is Practical.
Note however that if the number is '''not''' ultimately Practical, with a large number of factors, then the loop to find this is slightly ''slower''.
<lang python>def is_practical2(x: int, __switch=23) -> bool:
|