Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #https://inf-ege.sdamgia.ru/test?theme=414
- for x in range(174457, 174506):
- a = []
- for k in range(2, int(x ** 0.5) + 1):
- if x % k != 0:
- continue
- if k * k == x:
- a.append(k)
- else:
- a.append(k)
- a.append(x // k)
- if len(a) == 2:
- print(*sorted(a))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement