Jul-21-2020, 10:57 AM
Ok, so the problem is to solve this question...Can anyone help ?
In a given text you need to sum the numbers. Only separated numbers should be counted. If a number is part of a word it shouldn't be counted.
The text consists from numbers, spaces and English letters
Input: A string.
Output: An int.
Help please!
In a given text you need to sum the numbers. Only separated numbers should be counted. If a number is part of a word it shouldn't be counted.
The text consists from numbers, spaces and English letters
Input: A string.
Output: An int.
Help please!