Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from fnmatch import fnmatch
- for i in range(11223, 10**8+1):
- if i % 149 == 0 and fnmatch(str(i), '11*223'):
- print(i, i // 149)
- '''
- 1166223 7827
- 11000223 73827
- 11149223 74827
- 11298223 75827
- 11447223 76827
- 11596223 77827
- 11745223 78827
- 11894223 79827'''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement