Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First with re solution in Clear category for Count Digits by sanello
from re import findall
def count_digits(text: str) -> int:
return len(findall("\d", text))
April 3, 2020