Guest User

Untitled

a guest
Oct 23rd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. import math
  2. def bigprime(x):
  3. z = 2
  4. while z <= math.sqrt(x):
  5. if x % z == 0:
  6. x = x / z
  7. else:
  8. z += 1
  9. print x
Add Comment
Please, Sign In to add comment