Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for a in range(1, 10**10):
- print(a)
- for b in range(10):
- if str(a).count(str(b)) == str(2*a).count(str(b)) == str(3*a).count(str(b)) == str(4*a).count(str(b)) == str(5*a).count(str(b)) == str(6*a).count(str(b)):
- if b == 9:
- print(a, "ANSWER")
- quit()
- continue
- else:
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement