Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1line solution in Clear category for Count Digits by wooilkim
def count_digits(text: str) -> int:
return sum([1 for c in text if c.isnumeric()])
May 26, 2021
Comments: