Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
sum & isdigit solution in Clear category for Count Digits by lxf42
def count_digits(text: str) -> int:
# your code here
return sum(x.isdigit() for x in text)
Feb. 21, 2022