
Sum Numbers

In a given text you need to sum the numbers while excluding any digits that form part of a word.
The text consists of numbers, spaces and letters from the English alphabet.
Input: A string (str).
Output: An integer (int).
Examples:
assert sum_numbers("hi") == 0 assert sum_numbers("who is 1st here") == 0 assert sum_numbers("my numbers is 2") == 2 assert ( sum_numbers( "This picture is an oil on canvas painting by Danish artist Anna Petersen between 1845 and 1910 year" ) == 3755 )