Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num = int(input())
- for i in range(1, 10):
- for k in range(1, 10):
- for j in range(1, 10):
- for x in range(1, 10):
- if i + k == j + x and num % (i + k) == 0:
- print(f'{i}{k}{j}{x}', end=' ')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement