if n <= 1:
for i in range(2, int(math.sqrt(n)) + 1):
if n % i == 0:
| Contact Us
© 2023 ActiveState Software Inc. All rights reserved.
ActiveState®, Komodo®, ActiveState Perl Dev Kit®,
ActiveState Tcl Dev Kit®, ActivePerl®, ActivePython®,
and ActiveTcl® are registered trademarks of ActiveState.
All other marks are property of their respective owners.