Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Count Digits by Wakko_Warner
def count_digits(text: str) -> int:
# your code here
return sum(i.isdecimal() for i in text)
Nov. 19, 2020