Advertisement
Pastehsjsjs

Untitled

Feb 24th, 2023
597
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | Source Code | 0 0
  1. from fnmatch import fnmatch
  2.  
  3. for i in range(11223, 10**8+1):
  4.     if i % 149 == 0 and fnmatch(str(i), '11*223'):
  5.         print(i, i // 149)
  6.  
  7. '''
  8. 1166223 7827
  9. 11000223 73827
  10. 11149223 74827
  11. 11298223 75827
  12. 11447223 76827
  13. 11596223 77827
  14. 11745223 78827
  15. 11894223 79827'''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement