Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Even more simple solution in Clear category for Count Digits by mindaugas.dadurkevicius
def count_digits(text):
return sum([char.isdigit() for char in text])
June 17, 2021