Skip to content

Instantly share code, notes, and snippets.

View JRobsonJr's full-sized avatar
📣
Broadcasting the boom, boom, boom, boom and making 'em all dance to it.

Robson Junior JRobsonJr

📣
Broadcasting the boom, boom, boom, boom and making 'em all dance to it.
View GitHub Profile
import random
import math
def is_prime(n):
if (n % 2 == 0):
return False
for i in xrange(3, int(math.sqrt(n)), 2):
if (n % i == 0):
return False
return True