Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
sum 1 for isdigit solution in Clear category for Count Digits by m.kurapov
def count_digits(text: str) -> int:
return sum(1 for x in text if x.isdigit())
Nov. 10, 2020
Comments: