Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def count(v):
- res = 0
- for a in range(1, v + 1):
- if v % a: continue
- vv = v // a
- for b in range(1, vv + 1):
- if vv % b: continue
- print(','.join(map(str, [a, b, v//a//b])))
- res += 1
- return res
- print(count(36))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement