Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A = 174457
- B = 174505
- # ~ A = 5
- # ~ B = 9
- def count_of_del(x):
- res = []
- for i in range(2,int(x**0.5)+1):
- if x % i == 0:
- res.append(i)
- res.append(x//i)
- return sorted(set(res))
- res = {}
- for x in range(A,B+1):
- d = count_of_del(x)
- if len(d) == 2:
- res[d[0]*d[1]] = d
- for item in sorted(res):
- print(*res[item])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement