Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
sum bools == sum([1, 0]) solution in Clear category for Count Digits by fishsouprecipe
def count_digits(text: str) -> int:
return sum(map(str.isdigit, text))
March 28, 2020