Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Simple solution in Clear category for Count Digits by Pouf
def count_digits(text: str) -> int:
digits = [char for char in text if char.isdigit()]
return len(digits)
June 28, 2020
Comments: