summaryrefslogtreecommitdiff
path: root/progs/unparsable_programs/a144.py
blob: 7342998b5ec8f40ac43383bf82db50deded2bf50 (plain)
1
2
3
def divisible_by_digits(startnum, endnum):
    return [n for n in range(startnum, endnum+1) \
                if not any(map(lambda x: int(x) == 0 or n%int(x) != 0, str(n)))]