# Python 3.x
digits=range(1, 25 + 1)
required=[digit for digit in digits if (digit / 10 == 0 or (digit % 10 == 1 and digit >= 15))]
print(len(required))# --> 1
# ответ: 1
# Python 3.x
digits=range(1, 25 + 1)
required=[digit for digit in digits if (digit / 10 == 0 or (digit % 10 == 1 and digit >= 15))]
print(len(required))# --> 1
# ответ: 1