nq1s788

25 fnmatch

Mar 18th, 2026
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. #https://inf-ege.sdamgia.ru/test?theme=246
  2. from fnmatch import fnmatch
  3. for x in range(10**8 - 2, 10**9 + 1, 23): #можно и с 23 начать
  4.     if fnmatch(str(x), "12345?7?8"):
  5.         print(x, x // 23)
Advertisement
Add Comment
Please, Sign In to add comment