Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
exception handling is important and convenient)) solution in Clear category for Sum Numbers by samatdav02
def sum_numbers(text: str) -> int:
answ = 0
for word in text.split():
try:
answ += int(word)
except:
continue
return answ
Aug. 15, 2020
Comments: