import re
from itertools import permutations

cel = re.compile(r'11[7-9][0-9]{7}')

for tel in permutations(range(1, 10), 10):
    _tel = ''.join(str(x) for x in tel)
    if cel.search(_tel):
        print(_tel)

import re
from itertools import permutations

cel = re.compile(r'11[7-9][0-9]{7}')

for tel in permutations(range(1, 10), 10):
    _tel = ''.join(str(x) for x in tel)
    if cel.search(_tel):
        print(_tel)
