Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Sum([list comprehension]) solution in Clear category for Sum Numbers by paolo.carlevero
def sum_numbers(text: str) -> int:
return sum([int(num) for num in text.split() if num.isnumeric()])
May 27, 2021