Advertisement
MathQ_

Untitled

Apr 14th, 2022
815
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. for m in range(1000):
  2.     n = m
  3.     cur = ""
  4.     while n != 0:
  5.         cur += str(2 * (n % 5 + 3))
  6.         n //= 10
  7.     if cur == "10614":
  8.         print(m)
  9.         break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement