3 # Check if a number is prime (brute force)
5 # Luiz Fernando N. Capitulino
6 # <lcapitulino@gmail.com>
8 from sys
import exit
, stdout
, argv
11 "Check if a number is prime (brute force)"
15 for i
in range(2, num
):
22 stdout
.write('Usage: prime < number >\n')
33 if __name__
== "__main__":