Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Sum Numbers by Nakadashifc2ber
def sum_numbers(text: str) -> int:
words = text.split()
sum = 0
for w in words:
try:
n = int(w)
sum += n
except:
continue
return sum
Aug. 5, 2020
Comments: