Guest User

Untitled

a guest
Apr 18th, 2018
81
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def facCount(num):
  2. summ = 0
  3. for i in range(1, int(sqrt(num)) + 1):
  4. if num % i == 0:
  5. summ += 1
  6. summ *= 2
  7. if int(sqrt(num)) ** 2 == num:
  8. summ -= 1
  9. return summ
RAW Paste Data