Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
sum + for solution in Clear category for Count Digits by kdim
def count_digits(text: str) -> int:
return sum(s.isnumeric() for s in text)
March 9, 2021
Comments: