Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
One-line comprehension solution in Clear category for Count Digits by MBM_1607
def count_digits(text: str) -> int:
return len([x for x in text if x.isdigit()])
March 14, 2020