Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
sum(map(str.isdigit, ...)) solution in Clear category for Count Digits by Phil15
def count_digits(text: str) -> int:
return sum(map(str.isdigit, text))
March 6, 2020
Comments: