Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Isdigit? solution in Clear category for Sum Numbers by paf
def sum_numbers(text: str) -> int:
return sum([int(i if i.isdigit() else 0) for i in text.split()])
March 2, 2023
Comments: